diff options
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 (patch) | |
tree | 49e243c432a2e48d5500f1bd67fd79a0cfaf80b2 | |
parent | 4ad771caf459745d430aa4d0ad1b2def53ed30b5 (diff) | |
download | sources-296b518e66153f1c6ce1cf28e6d75fb923b7bb3f.tar.xz |
talloc-2.4.1 for samba
-rw-r--r-- | packages/l/Makefile | 1 | ||||
-rw-r--r-- | packages/l/talloc/Makefile | 39 |
2 files changed, 40 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) |