Radix cross Linux 3pp sources

RcL sources – is a tree of Third Party and Radix source tarballs

424 Commits   0 Branches   0 Tags
a6ce125b (kx 2023-12-07 17:26:26 +0300  1) #
a6ce125b (kx 2023-12-07 17:26:26 +0300  2) # Project Home:
a6ce125b (kx 2023-12-07 17:26:26 +0300  3) # ============
a6ce125b (kx 2023-12-07 17:26:26 +0300  4) # https://www.gtk.org
a6ce125b (kx 2023-12-07 17:26:26 +0300  5) # https://www.gnome.org
a6ce125b (kx 2023-12-07 17:26:26 +0300  6) #
a6ce125b (kx 2023-12-07 17:26:26 +0300  7) # Old project Home page:
a6ce125b (kx 2023-12-07 17:26:26 +0300  8) # ---------------------
a6ce125b (kx 2023-12-07 17:26:26 +0300  9) # http://www.tux.org/~ricdude/overview.html
a6ce125b (kx 2023-12-07 17:26:26 +0300 10) #
a6ce125b (kx 2023-12-07 17:26:26 +0300 11) # Downloads:
a6ce125b (kx 2023-12-07 17:26:26 +0300 12) # =========
a6ce125b (kx 2023-12-07 17:26:26 +0300 13) # ftp://ftp.gnome.org/pub/GNOME/sources
a6ce125b (kx 2023-12-07 17:26:26 +0300 14) # https://download.gnome.org/sources
a6ce125b (kx 2023-12-07 17:26:26 +0300 15) #
a6ce125b (kx 2023-12-07 17:26:26 +0300 16) 
a6ce125b (kx 2023-12-07 17:26:26 +0300 17) 
a6ce125b (kx 2023-12-07 17:26:26 +0300 18) url       = https://download.gnome.org/sources
a6ce125b (kx 2023-12-07 17:26:26 +0300 19) 
a6ce125b (kx 2023-12-07 17:26:26 +0300 20) versions  = 1.0.3
a6ce125b (kx 2023-12-07 17:26:26 +0300 21) 
a6ce125b (kx 2023-12-07 17:26:26 +0300 22) pkg_name  = gsound
a6ce125b (kx 2023-12-07 17:26:26 +0300 23) arch_type = tar.xz
a6ce125b (kx 2023-12-07 17:26:26 +0300 24) suffixes  = $(arch_type)
a6ce125b (kx 2023-12-07 17:26:26 +0300 25) 
a6ce125b (kx 2023-12-07 17:26:26 +0300 26) files     = $(foreach suffix, $(suffixes), $(addsuffix .$(suffix), $(addprefix $(pkg_name)-, $(versions))))
a6ce125b (kx 2023-12-07 17:26:26 +0300 27) 
a6ce125b (kx 2023-12-07 17:26:26 +0300 28) tarballs  = $(addsuffix .$(arch_type), $(addprefix $(pkg_name)-, $(versions)))
a6ce125b (kx 2023-12-07 17:26:26 +0300 29) sha1s     = $(addsuffix .sha1sum, $(tarballs))
a6ce125b (kx 2023-12-07 17:26:26 +0300 30) 
a6ce125b (kx 2023-12-07 17:26:26 +0300 31) 
a6ce125b (kx 2023-12-07 17:26:26 +0300 32) all: $(files) $(sha1s)
a6ce125b (kx 2023-12-07 17:26:26 +0300 33) 
a6ce125b (kx 2023-12-07 17:26:26 +0300 34) 
a6ce125b (kx 2023-12-07 17:26:26 +0300 35) .PHONY: downloads_clean
a6ce125b (kx 2023-12-07 17:26:26 +0300 36) 
a6ce125b (kx 2023-12-07 17:26:26 +0300 37) $(files):
a6ce125b (kx 2023-12-07 17:26:26 +0300 38) 	@echo -e "\n======= Downloading '$(pkg_name)' sourses =======\n"
a6ce125b (kx 2023-12-07 17:26:26 +0300 39) 	@for version in $(versions) ; do \
a6ce125b (kx 2023-12-07 17:26:26 +0300 40) 	  major_minor=`echo $$version | sed 's/\([0-9][.0-9][0-9]*\)\([\.].*\)/\1/'` ; \
a6ce125b (kx 2023-12-07 17:26:26 +0300 41) 	  for suffix in $(suffixes) ; do \
a6ce125b (kx 2023-12-07 17:26:26 +0300 42) 	    wget -N $(url)/$(pkg_name)/$$major_minor/$(pkg_name)-$$version.$$suffix ;  \
a6ce125b (kx 2023-12-07 17:26:26 +0300 43) 	  done ; \
a6ce125b (kx 2023-12-07 17:26:26 +0300 44) 	done
a6ce125b (kx 2023-12-07 17:26:26 +0300 45) 
a6ce125b (kx 2023-12-07 17:26:26 +0300 46) $(sha1s): %.$(arch_type).sha1sum : %.$(arch_type)
a6ce125b (kx 2023-12-07 17:26:26 +0300 47) 	@for tarball in $< ; do \
a6ce125b (kx 2023-12-07 17:26:26 +0300 48) 	  echo -e "\n======= Calculation the '$$tarball' sha1sum =======\n" ; \
a6ce125b (kx 2023-12-07 17:26:26 +0300 49) 	  sha1sum --binary $$tarball > $$tarball.sha1sum ; \
a6ce125b (kx 2023-12-07 17:26:26 +0300 50) 	done
a6ce125b (kx 2023-12-07 17:26:26 +0300 51) 
a6ce125b (kx 2023-12-07 17:26:26 +0300 52) downloads_clean:
a6ce125b (kx 2023-12-07 17:26:26 +0300 53) 	@rm -f $(files) $(sha1s)