summaryrefslogtreecommitdiff
path: root/GNU/automake/Makefile
diff options
context:
space:
mode:
authorkx <kx@radix.pro>2023-04-06 16:08:32 +0300
committerkx <kx@radix.pro>2023-04-06 16:08:32 +0300
commitc9b87548f19c4323592abff0a86bc1dac45658f0 (patch)
tree31d6d18cf65fc71a8dfec4efcfb5932d7788cdd2 /GNU/automake/Makefile
parent8d07317ed20e7544501edfcc9894d5002fd1771d (diff)
downloadsources-c9b87548f19c4323592abff0a86bc1dac45658f0.tar.xz
GNU packages
Diffstat (limited to 'GNU/automake/Makefile')
-rw-r--r--GNU/automake/Makefile38
1 files changed, 38 insertions, 0 deletions
diff --git a/GNU/automake/Makefile b/GNU/automake/Makefile
new file mode 100644
index 0000000..2a8cee9
--- /dev/null
+++ b/GNU/automake/Makefile
@@ -0,0 +1,38 @@
+#
+# Project Home:
+# ============
+# https://www.gnu.org/software/automake
+#
+# Downloads:
+# =========
+# https://ftp.gnu.org/gnu/automake
+#
+
+url = https://ftp.gnu.org/gnu/automake
+
+versions = 1.11.5 1.12.6 1.14 1.15 1.16 1.16.1 1.16.3 1.16.4 1.16.5
+
+pkgname = automake
+suffix = tar.xz
+
+tarballs = $(addsuffix .$(suffix), $(addprefix $(pkgname)-, $(versions)))
+sha1s = $(addsuffix .sha1sum, $(tarballs))
+
+all: $(tarballs) $(sha1s)
+
+.PHONY: downloads_clean
+
+$(tarballs):
+ @echo -e "\n======= Downloading source tarballs =======\n"
+ @for tarball in $(tarballs) ; do \
+ wget -N $(url)/$$tarball ; \
+ done
+
+$(sha1s): %.$(suffix).sha1sum : %.$(suffix)
+ @for tarball in $< ; do \
+ echo -e "\n======= Calculation the '$$tarball' sha1sum =======\n" ; \
+ sha1sum --binary $$tarball > $$tarball.sha1sum ; \
+ done
+
+downloads_clean:
+ @rm -rf $(tarballs) $(sha1s)