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-05-18 07:58:01 +0300 committer: kx <kx@radix.pro> 2023-05-18 07:58:01 +0300 commit: 308dc3c01a4661b729c03a042ae0a247475b0065 parent: 051bf53b1f4b95ba0e5475c7c573bc68f72ac271
Commit Summary:
libqrencode 4.1.1
Diffstat:
2 files changed, 30 insertions, 0 deletions
diff --git a/packages/l/Makefile b/packages/l/Makefile
index fa65881..187fe0c 100644
--- a/packages/l/Makefile
+++ b/packages/l/Makefile
@@ -117,6 +117,7 @@ SUBDIRS := aalib               \
            pycups              \
            pycurl              \
            pyrex               \
+           qrencode            \
            sbc                 \
            sdl                 \
            serf                \
diff --git a/packages/l/qrencode/Makefile b/packages/l/qrencode/Makefile
new file mode 100644
index 0000000..93aa704
--- /dev/null
+++ b/packages/l/qrencode/Makefile
@@ -0,0 +1,39 @@
+#
+# Project Home:
+# ============
+# https://fukuchi.org/works/qrencode
+#
+# Downloads:
+# =========
+# https://fukuchi.org/works/qrencode
+#
+
+url         = https://fukuchi.org/works/qrencode
+
+versions    = 4.1.1
+
+pkgname     = qrencode
+suffix      = tar.gz
+
+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)