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-09-28 12:29:53 +0300 committer: kx <kx@radix.pro> 2023-09-28 12:29:53 +0300 commit: 4e0caee12ae220c62bf9c0b9f1adf3f010965a8d parent: 4425a1ba37ca206465ad08778c9e76c07e60a12b
Commit Summary:
libslack: daemon-0.8.4
Diffstat:
2 files changed, 32 insertions, 0 deletions
diff --git a/packages/a/Makefile b/packages/a/Makefile
index 4e952e2..ece3f10 100644
--- a/packages/a/Makefile
+++ b/packages/a/Makefile
@@ -26,6 +26,7 @@ SUBDIRS := CLooG                  \
            cups                   \
            cups-filters           \
            cups-xp                \
+           daemon                 \
            db                     \
            dbus                   \
            dc3dd                  \
diff --git a/packages/a/daemon/Makefile b/packages/a/daemon/Makefile
new file mode 100644
index 0000000..3e1d47b
--- /dev/null
+++ b/packages/a/daemon/Makefile
@@ -0,0 +1,40 @@
+#
+# Project Home:
+# ============
+#   https://libslack.org/daemon
+#
+# Downloads:
+# =========
+#   https://libslack.org/daemon/#download
+#   https://libslack.org/daemon/download/
+#
+
+url         = https://libslack.org/daemon/download
+
+versions    = 0.8.4
+pkgname     = daemon
+suffix      = tar.gz
+
+tarballs    = $(addsuffix .$(suffix), $(addprefix $(pkgname)-, $(versions)))
+tarballs   += $(addsuffix -html.$(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)