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-11 06:15:18 +0300 committer: kx <kx@radix.pro> 2024-01-11 06:15:18 +0300 commit: dcb31bf734d375a2b4f6fea9eeeb08d68d87e05e parent: df552ebce12b5f410b2661a932d7d4744b44ee45
Commit Summary:
GNU: libcdio
Diffstat:
1 file changed, 29 insertions, 0 deletions
diff --git a/GNU/libcdio/Makefile b/GNU/libcdio/Makefile
new file mode 100644
index 0000000..c48f0a4
--- /dev/null
+++ b/GNU/libcdio/Makefile
@@ -0,0 +1,39 @@
+#
+# Project Home:
+# ============
+# https://www.gnu.org/software/libcdio/
+#
+# Downloads:
+# =========
+# https://ftp.gnu.org/pub/gnu/libcdio/
+#
+
+url         = https://ftp.gnu.org/pub/gnu/libcdio
+
+versions    = 2.1.0
+
+pkgname     = libcdio
+suffix      = tar.bz2
+
+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)