Radix cross Linux 3pp sources

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

423 Commits   0 Branches   0 Tags
c7d7d6bb (kx 2023-12-25 16:37:33 +0300  1) #
c7d7d6bb (kx 2023-12-25 16:37:33 +0300  2) # Project Home:
c7d7d6bb (kx 2023-12-25 16:37:33 +0300  3) # ============
c7d7d6bb (kx 2023-12-25 16:37:33 +0300  4) #   https://libopenraw.freedesktop.org/exempi
c7d7d6bb (kx 2023-12-25 16:37:33 +0300  5) #
c7d7d6bb (kx 2023-12-25 16:37:33 +0300  6) # Downloads:
c7d7d6bb (kx 2023-12-25 16:37:33 +0300  7) # =========
c7d7d6bb (kx 2023-12-25 16:37:33 +0300  8) #   https://libopenraw.freedesktop.org/download/exempi-2.6.5.tar.xz
c7d7d6bb (kx 2023-12-25 16:37:33 +0300  9) #
c7d7d6bb (kx 2023-12-25 16:37:33 +0300 10) 
c7d7d6bb (kx 2023-12-25 16:37:33 +0300 11) url         = https://libopenraw.freedesktop.org/download
c7d7d6bb (kx 2023-12-25 16:37:33 +0300 12) 
c7d7d6bb (kx 2023-12-25 16:37:33 +0300 13) versions    = 2.6.5
c7d7d6bb (kx 2023-12-25 16:37:33 +0300 14) 
c7d7d6bb (kx 2023-12-25 16:37:33 +0300 15) pkgname     = exempi
c7d7d6bb (kx 2023-12-25 16:37:33 +0300 16) suffix      = tar.xz
c7d7d6bb (kx 2023-12-25 16:37:33 +0300 17) 
c7d7d6bb (kx 2023-12-25 16:37:33 +0300 18) tarballs    = $(addsuffix .$(suffix), $(addprefix $(pkgname)-, $(versions)))
c7d7d6bb (kx 2023-12-25 16:37:33 +0300 19) sha1s       = $(addsuffix .sha1sum, $(tarballs))
c7d7d6bb (kx 2023-12-25 16:37:33 +0300 20) 
c7d7d6bb (kx 2023-12-25 16:37:33 +0300 21) 
c7d7d6bb (kx 2023-12-25 16:37:33 +0300 22) all: $(tarballs) $(sha1s)
c7d7d6bb (kx 2023-12-25 16:37:33 +0300 23) 
c7d7d6bb (kx 2023-12-25 16:37:33 +0300 24) .PHONY: downloads_clean
c7d7d6bb (kx 2023-12-25 16:37:33 +0300 25) 
c7d7d6bb (kx 2023-12-25 16:37:33 +0300 26) $(tarballs):
c7d7d6bb (kx 2023-12-25 16:37:33 +0300 27) 	@echo -e "\n======= Downloading source tarballs =======\n"
c7d7d6bb (kx 2023-12-25 16:37:33 +0300 28) 	@for tarball in $(tarballs) ; do \
c7d7d6bb (kx 2023-12-25 16:37:33 +0300 29) 	  wget -N $(url)/$$tarball ; \
c7d7d6bb (kx 2023-12-25 16:37:33 +0300 30) 	done
c7d7d6bb (kx 2023-12-25 16:37:33 +0300 31) 
c7d7d6bb (kx 2023-12-25 16:37:33 +0300 32) $(sha1s): %.$(suffix).sha1sum : %.$(suffix)
c7d7d6bb (kx 2023-12-25 16:37:33 +0300 33) 	@for tarball in $< ; do \
c7d7d6bb (kx 2023-12-25 16:37:33 +0300 34) 	  echo -e "\n======= Calculation the '$$tarball' sha1sum =======\n" ; \
c7d7d6bb (kx 2023-12-25 16:37:33 +0300 35) 	  sha1sum --binary $$tarball > $$tarball.sha1sum ; \
c7d7d6bb (kx 2023-12-25 16:37:33 +0300 36) 	done
c7d7d6bb (kx 2023-12-25 16:37:33 +0300 37) 
c7d7d6bb (kx 2023-12-25 16:37:33 +0300 38) downloads_clean:
c7d7d6bb (kx 2023-12-25 16:37:33 +0300 39) 	@rm -rf $(tarballs) $(sha1s)