Radix cross Linux 3pp sources

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

423 Commits   0 Branches   0 Tags
60c0c1eb (kx 2023-06-08 10:55:49 +0300  1) #
60c0c1eb (kx 2023-06-08 10:55:49 +0300  2) # Project Home:
60c0c1eb (kx 2023-06-08 10:55:49 +0300  3) # ============
60c0c1eb (kx 2023-06-08 10:55:49 +0300  4) # https://sourceforge.net/projects/lxde
60c0c1eb (kx 2023-06-08 10:55:49 +0300  5) #
60c0c1eb (kx 2023-06-08 10:55:49 +0300  6) # Downloads:
60c0c1eb (kx 2023-06-08 10:55:49 +0300  7) # =========
60c0c1eb (kx 2023-06-08 10:55:49 +0300  8) # https://downloads.sourceforge.net/project/lxde/lxmenu-data (desktop menu)/
60c0c1eb (kx 2023-06-08 10:55:49 +0300  9) #
60c0c1eb (kx 2023-06-08 10:55:49 +0300 10) 
60c0c1eb (kx 2023-06-08 10:55:49 +0300 11) url         = https://downloads.sourceforge.net/project/lxde/lxmenu-data%20%28desktop%20menu%29
60c0c1eb (kx 2023-06-08 10:55:49 +0300 12) 
60c0c1eb (kx 2023-06-08 10:55:49 +0300 13) versions    = 0.1.5
60c0c1eb (kx 2023-06-08 10:55:49 +0300 14) 
60c0c1eb (kx 2023-06-08 10:55:49 +0300 15) pkgname     = lxmenu-data
60c0c1eb (kx 2023-06-08 10:55:49 +0300 16) suffix      = tar.xz
60c0c1eb (kx 2023-06-08 10:55:49 +0300 17) 
60c0c1eb (kx 2023-06-08 10:55:49 +0300 18) tarballs    = $(addsuffix .$(suffix), $(addprefix $(pkgname)-, $(versions)))
60c0c1eb (kx 2023-06-08 10:55:49 +0300 19) sha1s       = $(addsuffix .sha1sum, $(tarballs))
60c0c1eb (kx 2023-06-08 10:55:49 +0300 20) 
60c0c1eb (kx 2023-06-08 10:55:49 +0300 21) 
60c0c1eb (kx 2023-06-08 10:55:49 +0300 22) all: $(tarballs) $(signatures) $(sha1s)
60c0c1eb (kx 2023-06-08 10:55:49 +0300 23) 
60c0c1eb (kx 2023-06-08 10:55:49 +0300 24) .PHONY: downloads_clean
60c0c1eb (kx 2023-06-08 10:55:49 +0300 25) 
60c0c1eb (kx 2023-06-08 10:55:49 +0300 26) $(tarballs):
60c0c1eb (kx 2023-06-08 10:55:49 +0300 27) 	@echo -e "\n======= Downloading source tarballs =======\n"
60c0c1eb (kx 2023-06-08 10:55:49 +0300 28) 	@for tarball in $(tarballs) ; do \
60c0c1eb (kx 2023-06-08 10:55:49 +0300 29) 	  wget -N "$(url)/$${tarball}" ; \
60c0c1eb (kx 2023-06-08 10:55:49 +0300 30) 	done
60c0c1eb (kx 2023-06-08 10:55:49 +0300 31) 
60c0c1eb (kx 2023-06-08 10:55:49 +0300 32) 
60c0c1eb (kx 2023-06-08 10:55:49 +0300 33) $(sha1s): %.$(suffix).sha1sum : %.$(suffix)
60c0c1eb (kx 2023-06-08 10:55:49 +0300 34) 	@for tarball in $< ; do \
60c0c1eb (kx 2023-06-08 10:55:49 +0300 35) 	  echo -e "\n======= Calculation the '$$tarball' sha1sum =======\n" ; \
60c0c1eb (kx 2023-06-08 10:55:49 +0300 36) 	  sha1sum --binary $$tarball > $$tarball.sha1sum ; \
60c0c1eb (kx 2023-06-08 10:55:49 +0300 37) 	done
60c0c1eb (kx 2023-06-08 10:55:49 +0300 38) 
60c0c1eb (kx 2023-06-08 10:55:49 +0300 39) downloads_clean:
60c0c1eb (kx 2023-06-08 10:55:49 +0300 40) 	@rm -rf $(tarballs) $(sha1s)