diff options
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 (patch) | |
tree | c63d802b0ff437a057f02d3f169c17470cb3e4a3 /packages/l/volume_key/Makefile | |
parent | b2d81af18056a2c4dac8fa0eddbc6b615221d87c (diff) | |
download | sources-041db36f429d505d8111f7c641b0106508399039.tar.xz |
volume_key-0.3.12
Diffstat (limited to 'packages/l/volume_key/Makefile')
-rw-r--r-- | packages/l/volume_key/Makefile | 39 |
1 files changed, 39 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) |