Radix cross Linux 3pp sources

RcL sources – is a tree of Third Party and Radix source tarballs

343 Commits   0 Branches   0 Tags
author: kx <kx@radix.pro> 2023-12-27 02:19:59 +0300 committer: kx <kx@radix.pro> 2023-12-27 02:19:59 +0300 commit: 041db36f429d505d8111f7c641b0106508399039 parent: b2d81af18056a2c4dac8fa0eddbc6b615221d87c
Commit Summary:
volume_key-0.3.12
Diffstat:
1 file changed, 29 insertions, 0 deletions
diff --git a/packages/l/volume_key/Makefile b/packages/l/volume_key/Makefile
new file mode 100644
index 0000000..153b7c0
--- /dev/null
+++ b/packages/l/volume_key/Makefile
@@ -0,0 +1,39 @@
+#
+# Project Home:
+# ============
+#   https://pagure.io/volume_key
+#
+# Downloads:
+# =========
+#   https://releases.pagure.org/volume_key/
+#
+
+url         = https://releases.pagure.org/volume_key
+
+versions    = 0.3.12
+
+pkgname     = volume_key
+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 version in $(versions) ; do \
+	  wget -N $(url)/$(pkgname)-$$version.$(suffix) ;  \
+	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)