summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkx <kx@radix.pro>2023-12-27 02:19:59 +0300
committerkx <kx@radix.pro>2023-12-27 02:19:59 +0300
commit041db36f429d505d8111f7c641b0106508399039 (patch)
treec63d802b0ff437a057f02d3f169c17470cb3e4a3
parentb2d81af18056a2c4dac8fa0eddbc6b615221d87c (diff)
downloadsources-041db36f429d505d8111f7c641b0106508399039.tar.xz
volume_key-0.3.12
-rw-r--r--packages/l/Makefile1
-rw-r--r--packages/l/volume_key/Makefile39
2 files changed, 40 insertions, 0 deletions
diff --git a/packages/l/Makefile b/packages/l/Makefile
index 2a17890..d1e4878 100644
--- a/packages/l/Makefile
+++ b/packages/l/Makefile
@@ -147,6 +147,7 @@ SUBDIRS := aalib \
usbids \
utf8proc \
v4l-utils \
+ volume_key \
woff2 \
zeromq \
zlib \
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)