b54c044c (kx 2023-12-23 21:48:25 +0300 1) #
b54c044c (kx 2023-12-23 21:48:25 +0300 2) # Project Home:
b54c044c (kx 2023-12-23 21:48:25 +0300 3) # ============
b54c044c (kx 2023-12-23 21:48:25 +0300 4) # https://www.xfce.org
b54c044c (kx 2023-12-23 21:48:25 +0300 5) #
b54c044c (kx 2023-12-23 21:48:25 +0300 6) # Downloads:
b54c044c (kx 2023-12-23 21:48:25 +0300 7) # =========
b54c044c (kx 2023-12-23 21:48:25 +0300 8) # https://archive.xfce.org/src/xfce/exo/4.18
b54c044c (kx 2023-12-23 21:48:25 +0300 9) #
b54c044c (kx 2023-12-23 21:48:25 +0300 10)
967162a0 (kx 2023-12-25 09:34:44 +0300 11) url = https://archive.xfce.org/src/xfce
b54c044c (kx 2023-12-23 21:48:25 +0300 12)
b54c044c (kx 2023-12-23 21:48:25 +0300 13) versions = 4.18.0
b54c044c (kx 2023-12-23 21:48:25 +0300 14)
b54c044c (kx 2023-12-23 21:48:25 +0300 15) pkgname = exo
b54c044c (kx 2023-12-23 21:48:25 +0300 16) suffix = tar.bz2
b54c044c (kx 2023-12-23 21:48:25 +0300 17)
b54c044c (kx 2023-12-23 21:48:25 +0300 18) tarballs = $(addsuffix .$(suffix), $(addprefix $(pkgname)-, $(versions)))
b54c044c (kx 2023-12-23 21:48:25 +0300 19) sha1s = $(addsuffix .sha1sum, $(tarballs))
b54c044c (kx 2023-12-23 21:48:25 +0300 20)
b54c044c (kx 2023-12-23 21:48:25 +0300 21)
b54c044c (kx 2023-12-23 21:48:25 +0300 22) all: $(tarballs) $(sha1s)
b54c044c (kx 2023-12-23 21:48:25 +0300 23)
b54c044c (kx 2023-12-23 21:48:25 +0300 24) .PHONY: downloads_clean
b54c044c (kx 2023-12-23 21:48:25 +0300 25)
b54c044c (kx 2023-12-23 21:48:25 +0300 26) $(tarballs):
b54c044c (kx 2023-12-23 21:48:25 +0300 27) @echo -e "\n======= Downloading source tarballs =======\n"
967162a0 (kx 2023-12-25 09:34:44 +0300 28) @for version in $(versions) ; do \
967162a0 (kx 2023-12-25 09:34:44 +0300 29) major_minor=`echo $${version} | sed 's/\([0-9][.0-9][0-9]*\)\([\.].*\)/\1/'` ; \
967162a0 (kx 2023-12-25 09:34:44 +0300 30) wget -N $(url)/$(pkgname)/$${major_minor}/$(pkgname)-$${version}.$(suffix) ; \
b54c044c (kx 2023-12-23 21:48:25 +0300 31) done
b54c044c (kx 2023-12-23 21:48:25 +0300 32)
b54c044c (kx 2023-12-23 21:48:25 +0300 33) $(sha1s): %.$(suffix).sha1sum : %.$(suffix)
b54c044c (kx 2023-12-23 21:48:25 +0300 34) @for tarball in $< ; do \
b54c044c (kx 2023-12-23 21:48:25 +0300 35) echo -e "\n======= Calculation the '$$tarball' sha1sum =======\n" ; \
b54c044c (kx 2023-12-23 21:48:25 +0300 36) sha1sum --binary $$tarball > $$tarball.sha1sum ; \
b54c044c (kx 2023-12-23 21:48:25 +0300 37) done
b54c044c (kx 2023-12-23 21:48:25 +0300 38)
b54c044c (kx 2023-12-23 21:48:25 +0300 39) downloads_clean:
b54c044c (kx 2023-12-23 21:48:25 +0300 40) @rm -rf $(tarballs) $(sha1s)