Radix cross Linux 3pp sources

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

423 Commits   0 Branches   0 Tags
f7e1268e (kx 2023-04-06 10:37:52 +0300  1) #
f7e1268e (kx 2023-04-06 10:37:52 +0300  2) # Project Home:
f7e1268e (kx 2023-04-06 10:37:52 +0300  3) # ============
f7e1268e (kx 2023-04-06 10:37:52 +0300  4) # http://wordlist.aspell.net
8d07317e (kx 2023-04-06 11:04:48 +0300  5) # https://sourceforge.net/projects/wordlist
f7e1268e (kx 2023-04-06 10:37:52 +0300  6) #
f7e1268e (kx 2023-04-06 10:37:52 +0300  7) # Downloads:
f7e1268e (kx 2023-04-06 10:37:52 +0300  8) # =========
8d07317e (kx 2023-04-06 11:04:48 +0300  9) # https://sourceforge.net/projects/wordlist/files/SCOWL
f7e1268e (kx 2023-04-06 10:37:52 +0300 10) #
f7e1268e (kx 2023-04-06 10:37:52 +0300 11) 
8d07317e (kx 2023-04-06 11:04:48 +0300 12) url         = https://downloads.sourceforge.net/project/wordlist/SCOWL
f7e1268e (kx 2023-04-06 10:37:52 +0300 13) 
f7e1268e (kx 2023-04-06 10:37:52 +0300 14) versions    = 2019.10.06 2020.12.07
f7e1268e (kx 2023-04-06 10:37:52 +0300 15) pkgname     = scowl
f7e1268e (kx 2023-04-06 10:37:52 +0300 16) suffix      = tar.gz
f7e1268e (kx 2023-04-06 10:37:52 +0300 17) 
f7e1268e (kx 2023-04-06 10:37:52 +0300 18) tarballs    = $(addsuffix .$(suffix), $(addprefix $(pkgname)-, $(versions)))
f7e1268e (kx 2023-04-06 10:37:52 +0300 19) sha1s       = $(addsuffix .sha1sum, $(tarballs))
f7e1268e (kx 2023-04-06 10:37:52 +0300 20) 
f7e1268e (kx 2023-04-06 10:37:52 +0300 21) 
f7e1268e (kx 2023-04-06 10:37:52 +0300 22) all: $(tarballs) $(sha1s)
f7e1268e (kx 2023-04-06 10:37:52 +0300 23) 
f7e1268e (kx 2023-04-06 10:37:52 +0300 24) .PHONY: downloads_clean
f7e1268e (kx 2023-04-06 10:37:52 +0300 25) 
f7e1268e (kx 2023-04-06 10:37:52 +0300 26) $(tarballs):
f7e1268e (kx 2023-04-06 10:37:52 +0300 27) 	@echo -e "\n======= Downloading source tarballs =======\n"
f7e1268e (kx 2023-04-06 10:37:52 +0300 28) 	@for tarball in $(tarballs) ; do \
f7e1268e (kx 2023-04-06 10:37:52 +0300 29) 	  version=`echo $$tarball | sed 's/\([a-zA-Z-]*\)\(.*\)\(.$(suffix)\)/\2/'` ; \
f7e1268e (kx 2023-04-06 10:37:52 +0300 30) 	  wget -N $(url)/$$version/$$tarball ; \
f7e1268e (kx 2023-04-06 10:37:52 +0300 31) 	done
f7e1268e (kx 2023-04-06 10:37:52 +0300 32) 
f7e1268e (kx 2023-04-06 10:37:52 +0300 33) $(sha1s): %.$(suffix).sha1sum : %.$(suffix)
f7e1268e (kx 2023-04-06 10:37:52 +0300 34) 	@for tarball in $< ; do \
f7e1268e (kx 2023-04-06 10:37:52 +0300 35) 	  echo -e "\n======= Calculation the '$$tarball' sha1sum =======\n" ; \
f7e1268e (kx 2023-04-06 10:37:52 +0300 36) 	  sha1sum --binary $$tarball > $$tarball.sha1sum ; \
f7e1268e (kx 2023-04-06 10:37:52 +0300 37) 	done
f7e1268e (kx 2023-04-06 10:37:52 +0300 38) 
f7e1268e (kx 2023-04-06 10:37:52 +0300 39) downloads_clean:
f7e1268e (kx 2023-04-06 10:37:52 +0300 40) 	@rm -rf $(tarballs) $(sha1s)