summaryrefslogtreecommitdiff
path: root/X.org/lib/libXaw
diff options
context:
space:
mode:
authorkx <kx@radix.pro>2023-04-06 10:37:20 +0300
committerkx <kx@radix.pro>2023-04-06 10:37:20 +0300
commitb8d9de0a8bff1b815a7f84df279cb608fe2e962b (patch)
treec75b996eff63441033ecc07383a5efc3cab9b856 /X.org/lib/libXaw
parentcbda8cd8fcffd037f28be2d043a05bef12db485a (diff)
downloadsources-b8d9de0a8bff1b815a7f84df279cb608fe2e962b.tar.xz
X.org
Diffstat (limited to 'X.org/lib/libXaw')
-rw-r--r--X.org/lib/libXaw/Makefile38
1 files changed, 38 insertions, 0 deletions
diff --git a/X.org/lib/libXaw/Makefile b/X.org/lib/libXaw/Makefile
new file mode 100644
index 0000000..e21e8e5
--- /dev/null
+++ b/X.org/lib/libXaw/Makefile
@@ -0,0 +1,38 @@
+#
+# Project Home:
+# ============
+# https://www.x.org/wiki
+#
+# Downloads:
+# =========
+# https://www.x.org/releases/individual/lib
+#
+
+url = https://www.x.org/releases/individual/lib
+
+versions = 1.0.11 1.0.12 1.0.13 1.0.14
+pkgname = libXaw
+suffix = tar.bz2
+
+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)