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> 2024-01-18 19:33:45 +0300 committer: kx <kx@radix.pro> 2024-01-18 19:33:45 +0300 commit: 5c965400c5047351262b52b6092a7698e300d115 parent: 283ac4ea279ae31b1b0d35c2e0bd988b62d47033
Commit Summary:
jasper, libraw for gimp
Diffstat:
1 file changed, 29 insertions, 0 deletions
diff --git a/packages/x/libraw/Makefile b/packages/x/libraw/Makefile
new file mode 100644
index 0000000..bcb2a2b
--- /dev/null
+++ b/packages/x/libraw/Makefile
@@ -0,0 +1,39 @@
+#
+# Project Home:
+# ============
+#   https://www.libraw.org/
+#
+# Downloads:
+# =========
+#   https://www.libraw.org/data/LibRaw-0.21.2.tar.gz
+#
+
+url         = https://www.libraw.org/data
+
+versions    = 0.21.2
+
+pkgname     = LibRaw
+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)