Radix cross Linux 3pp sources

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

423 Commits   0 Branches   0 Tags
2c69664d (kx 2023-12-05 18:22:53 +0300  1) #
2c69664d (kx 2023-12-05 18:22:53 +0300  2) # Project Home:
2c69664d (kx 2023-12-05 18:22:53 +0300  3) # ============
2c69664d (kx 2023-12-05 18:22:53 +0300  4) #   https://www-archive.mozilla.org/projects/
2c69664d (kx 2023-12-05 18:22:53 +0300  5) #
2c69664d (kx 2023-12-05 18:22:53 +0300  6) # Downloads:
2c69664d (kx 2023-12-05 18:22:53 +0300  7) # =========
2c69664d (kx 2023-12-05 18:22:53 +0300  8) #   https://archive.mozilla.org/pub/firefox/releases/$(VERSION)/
2c69664d (kx 2023-12-05 18:22:53 +0300  9) #
2c69664d (kx 2023-12-05 18:22:53 +0300 10) 
2c69664d (kx 2023-12-05 18:22:53 +0300 11) url         = https://archive.mozilla.org/pub/firefox/releases
2c69664d (kx 2023-12-05 18:22:53 +0300 12) 
2c69664d (kx 2023-12-05 18:22:53 +0300 13) versions    = 102.15.0esr
2c69664d (kx 2023-12-05 18:22:53 +0300 14) 
2c69664d (kx 2023-12-05 18:22:53 +0300 15) pkgname     = firefox
2c69664d (kx 2023-12-05 18:22:53 +0300 16) suffix      = tar.xz
2c69664d (kx 2023-12-05 18:22:53 +0300 17) 
2c69664d (kx 2023-12-05 18:22:53 +0300 18) tarballs    = $(addsuffix .$(suffix), $(addsuffix .source, $(addprefix $(pkgname)-, $(versions))))
2c69664d (kx 2023-12-05 18:22:53 +0300 19) sha1s       = $(addsuffix .sha1sum, $(tarballs))
2c69664d (kx 2023-12-05 18:22:53 +0300 20) 
2c69664d (kx 2023-12-05 18:22:53 +0300 21) 
2c69664d (kx 2023-12-05 18:22:53 +0300 22) all: $(tarballs) $(sha1s)
2c69664d (kx 2023-12-05 18:22:53 +0300 23) 
2c69664d (kx 2023-12-05 18:22:53 +0300 24) .PHONY: downloads_clean
2c69664d (kx 2023-12-05 18:22:53 +0300 25) 
2c69664d (kx 2023-12-05 18:22:53 +0300 26) $(tarballs):
2c69664d (kx 2023-12-05 18:22:53 +0300 27) 	@echo -e "\n======= Downloading source tarballs =======\n"
2c69664d (kx 2023-12-05 18:22:53 +0300 28) 	@for tarball in $(tarballs) ; do \
2c69664d (kx 2023-12-05 18:22:53 +0300 29) 	  version=`echo $$tarball | sed 's/\([a-zA-Z-]*\)\([0-9]*[.0-9esr]*\)\([\.].*\)/\2/'` ; \
2c69664d (kx 2023-12-05 18:22:53 +0300 30) 	  wget -N $(url)/$$version/source/$$tarball ; \
2c69664d (kx 2023-12-05 18:22:53 +0300 31) 	done
2c69664d (kx 2023-12-05 18:22:53 +0300 32) 
2c69664d (kx 2023-12-05 18:22:53 +0300 33) $(sha1s): %.$(suffix).sha1sum : %.$(suffix)
2c69664d (kx 2023-12-05 18:22:53 +0300 34) 	@for tarball in $< ; do \
2c69664d (kx 2023-12-05 18:22:53 +0300 35) 	  echo -e "\n======= Calculation the '$$tarball' sha1sum =======\n" ; \
2c69664d (kx 2023-12-05 18:22:53 +0300 36) 	  sha1sum --binary $$tarball > $$tarball.sha1sum ; \
2c69664d (kx 2023-12-05 18:22:53 +0300 37) 	done
2c69664d (kx 2023-12-05 18:22:53 +0300 38) 
2c69664d (kx 2023-12-05 18:22:53 +0300 39) downloads_clean:
2c69664d (kx 2023-12-05 18:22:53 +0300 40) 	@rm -rf $(tarballs) $(sha1s)