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/pcmanfm
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://sourceforge.net/projects/pcmanfm/files/PCManFM + Libfm (tarball release)/LibFM
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/pcmanfm/PCManFM%20%2B%20Libfm%20%28tarball%20release%29/LibFM
60c0c1eb (kx 2023-06-08 10:55:49 +0300 12)
60c0c1eb (kx 2023-06-08 10:55:49 +0300 13) versions = 1.3.2
60c0c1eb (kx 2023-06-08 10:55:49 +0300 14)
60c0c1eb (kx 2023-06-08 10:55:49 +0300 15) pkgname = libfm
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) $(sha1s): %.$(suffix).sha1sum : %.$(suffix)
60c0c1eb (kx 2023-06-08 10:55:49 +0300 33) @for tarball in $< ; do \
60c0c1eb (kx 2023-06-08 10:55:49 +0300 34) echo -e "\n======= Calculation the '$$tarball' sha1sum =======\n" ; \
60c0c1eb (kx 2023-06-08 10:55:49 +0300 35) sha1sum --binary $$tarball > $$tarball.sha1sum ; \
60c0c1eb (kx 2023-06-08 10:55:49 +0300 36) done
60c0c1eb (kx 2023-06-08 10:55:49 +0300 37)
60c0c1eb (kx 2023-06-08 10:55:49 +0300 38) downloads_clean:
60c0c1eb (kx 2023-06-08 10:55:49 +0300 39) @rm -rf $(tarballs) $(sha1s)