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-04-11 06:54:40 +0300 committer: kx <kx@radix.pro> 2023-04-11 06:54:40 +0300 commit: 19dc4c5d37a41a6fa8b1076b568191d0b61389c2 parent: 616e36d9e9e3e56af1ea2db055012b77863d09e6
Commit Summary:
applications
Diffstat:
1 file changed, 26 insertions, 0 deletions
diff --git a/packages/a/bsdstrings/Makefile b/packages/a/bsdstrings/Makefile
new file mode 100644
index 0000000..44afb52
--- /dev/null
+++ b/packages/a/bsdstrings/Makefile
@@ -0,0 +1,36 @@
+#
+# Project Home:
+# ============
+#   https://slackware.com
+#
+# Downloads:
+# =========
+#   https://mirrors.slackware.com/slackware/slackware-14.1/source/a/util-linux
+#
+
+url         = https://mirrors.slackware.com/slackware/slackware-14.1/source/a/util-linux
+
+pkgname     = bsdstrings
+suffix      = tar.gz
+
+tarball     = $(addsuffix .$(suffix), $(pkgname))
+sha1s       = $(addsuffix .sha1sum, $(tarball))
+
+
+all: $(tarball) $(sha1s)
+
+.PHONY: downloads_clean
+
+
+$(tarball):
+	@echo -e "\n======= Downloading source tarball =======\n"
+	wget -N $(url)/$(tarball)
+
+$(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 $(tarball) $(sha1s)