summaryrefslogtreecommitdiff
path: root/GNU/autoconf-archive/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/autoconf-archive/Makefile
parent8d07317ed20e7544501edfcc9894d5002fd1771d (diff)
downloadsources-c9b87548f19c4323592abff0a86bc1dac45658f0.tar.xz
GNU packages
Diffstat (limited to 'GNU/autoconf-archive/Makefile')
-rw-r--r--GNU/autoconf-archive/Makefile38
1 files changed, 38 insertions, 0 deletions
diff --git a/GNU/autoconf-archive/Makefile b/GNU/autoconf-archive/Makefile
new file mode 100644
index 0000000..2e6d873
--- /dev/null
+++ b/GNU/autoconf-archive/Makefile
@@ -0,0 +1,38 @@
+#
+# Project Home:
+# ============
+# https://www.gnu.org/software/autoconf
+#
+# Downloads:
+# =========
+# https://ftp.gnu.org/gnu/autoconf-archive
+#
+
+url = https://ftp.gnu.org/gnu/autoconf-archive
+
+versions = 2014.02.28 2019.01.06 2021.02.19 2022.09.03 2023.02.20
+
+pkgname = autoconf-archive
+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)