Radix cross Linux 3pp sources

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

343 Commits   0 Branches   0 Tags
c9b87548 (kx 2023-04-06 16:08:32 +0300  1) #
c9b87548 (kx 2023-04-06 16:08:32 +0300  2) # Download: http://www.gnu.org/prep/ftp.html
c9b87548 (kx 2023-04-06 16:08:32 +0300  3) #
c9b87548 (kx 2023-04-06 16:08:32 +0300  4) # You can use the generic url http://ftpmirror.gnu.org 
c9b87548 (kx 2023-04-06 16:08:32 +0300  5) # to automatically choose a nearby and up-to-date mirror.
c9b87548 (kx 2023-04-06 16:08:32 +0300  6) #
c9b87548 (kx 2023-04-06 16:08:32 +0300  7) # original url: http://ftp.gnu.org/gnu/gdb
c9b87548 (kx 2023-04-06 16:08:32 +0300  8) #
c9b87548 (kx 2023-04-06 16:08:32 +0300  9) 
c9b87548 (kx 2023-04-06 16:08:32 +0300 10) url         = https://ftp.gnu.org/gnu/gdb
c9b87548 (kx 2023-04-06 16:08:32 +0300 11) 
cd29086e (kx 2023-06-30 22:37:17 +0300 12) versions    = 7.9 7.10.1 7.11 8.0 8.1.1 8.2 8.2.1 8.3 8.3.1 9.1 9.2 10.1 10.2 11.1 11.2 12.1 13.1 13.2
c5d502d7 (kx 2024-02-24 13:48:10 +0300 13) versions   += 14.1
c9b87548 (kx 2023-04-06 16:08:32 +0300 14) 
c9b87548 (kx 2023-04-06 16:08:32 +0300 15) pkgname     = gdb
c9b87548 (kx 2023-04-06 16:08:32 +0300 16) suffix      = tar.xz
c9b87548 (kx 2023-04-06 16:08:32 +0300 17) 
c9b87548 (kx 2023-04-06 16:08:32 +0300 18) tarballs    = $(addsuffix .$(suffix), $(addprefix $(pkgname)-, $(versions)))
c9b87548 (kx 2023-04-06 16:08:32 +0300 19) sha1s       = $(addsuffix .sha1sum, $(tarballs))
c9b87548 (kx 2023-04-06 16:08:32 +0300 20) 
c9b87548 (kx 2023-04-06 16:08:32 +0300 21) all: $(tarballs) $(sha1s)
c9b87548 (kx 2023-04-06 16:08:32 +0300 22) 
c9b87548 (kx 2023-04-06 16:08:32 +0300 23) .PHONY: downloads_clean
c9b87548 (kx 2023-04-06 16:08:32 +0300 24) 
c9b87548 (kx 2023-04-06 16:08:32 +0300 25) $(tarballs):
c9b87548 (kx 2023-04-06 16:08:32 +0300 26) 	@echo -e "\n======= Downloading source tarballs =======\n"
c9b87548 (kx 2023-04-06 16:08:32 +0300 27) 	@for tarball in $(tarballs) ; do \
c9b87548 (kx 2023-04-06 16:08:32 +0300 28) 	  wget -N $(url)/$$tarball ; \
c9b87548 (kx 2023-04-06 16:08:32 +0300 29) 	done
c9b87548 (kx 2023-04-06 16:08:32 +0300 30) 
c9b87548 (kx 2023-04-06 16:08:32 +0300 31) $(sha1s): %.$(suffix).sha1sum : %.$(suffix)
c9b87548 (kx 2023-04-06 16:08:32 +0300 32) 	@for tarball in $< ; do \
c9b87548 (kx 2023-04-06 16:08:32 +0300 33) 	  echo -e "\n======= Calculation the '$$tarball' sha1sum =======\n" ; \
c9b87548 (kx 2023-04-06 16:08:32 +0300 34) 	  sha1sum --binary $$tarball > $$tarball.sha1sum ; \
c9b87548 (kx 2023-04-06 16:08:32 +0300 35) 	done
c9b87548 (kx 2023-04-06 16:08:32 +0300 36) 
c9b87548 (kx 2023-04-06 16:08:32 +0300 37) downloads_clean:
c9b87548 (kx 2023-04-06 16:08:32 +0300 38) 	@rm -rf $(tarballs) $(sha1s)