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-12-27 14:17:07 +0300 committer: kx <kx@radix.pro> 2023-12-27 14:17:07 +0300 commit: 296b518e66153f1c6ce1cf28e6d75fb923b7bb3f parent: 4ad771caf459745d430aa4d0ad1b2def53ed30b5
Commit Summary:
talloc-2.4.1 for samba
Diffstat:
2 files changed, 30 insertions, 0 deletions
diff --git a/packages/l/Makefile b/packages/l/Makefile
index abd734b..7a275a6 100644
--- a/packages/l/Makefile
+++ b/packages/l/Makefile
@@ -144,6 +144,7 @@ SUBDIRS := aalib               \
            sg3_utils           \
            shared-mime-info    \
            slang               \
+           talloc              \
            termcap-compat      \
            tidy-html5          \
            tslib               \
diff --git a/packages/l/talloc/Makefile b/packages/l/talloc/Makefile
new file mode 100644
index 0000000..27a8c31
--- /dev/null
+++ b/packages/l/talloc/Makefile
@@ -0,0 +1,39 @@
+#
+# Project Home:
+# ============
+#   https://talloc.samba.org/
+#
+# Downloads:
+# =========
+#   https://www.samba.org/ftp/talloc
+#
+
+url         = https://www.samba.org/ftp/talloc
+
+versions    = 2.4.1
+
+pkgname     = talloc
+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 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)