summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkx <kx@radix.pro>2024-01-11 06:15:18 +0300
committerkx <kx@radix.pro>2024-01-11 06:15:18 +0300
commitdcb31bf734d375a2b4f6fea9eeeb08d68d87e05e (patch)
tree17e90eacdc070878278711187fcf5bc72e57c3fd
parentdf552ebce12b5f410b2661a932d7d4744b44ee45 (diff)
downloadsources-dcb31bf734d375a2b4f6fea9eeeb08d68d87e05e.tar.xz
GNU: libcdio
-rw-r--r--GNU/Makefile2
-rw-r--r--GNU/libcdio-paranoia/Makefile45
-rw-r--r--GNU/libcdio/Makefile39
3 files changed, 86 insertions, 0 deletions
diff --git a/GNU/Makefile b/GNU/Makefile
index 8d0de05..7f3a1e4 100644
--- a/GNU/Makefile
+++ b/GNU/Makefile
@@ -38,6 +38,8 @@ SUBDIRS := a2ps \
help2man \
inetutils \
less \
+ libcdio \
+ libcdio-paranoia \
libiconv \
libidn \
libidn2 \
diff --git a/GNU/libcdio-paranoia/Makefile b/GNU/libcdio-paranoia/Makefile
new file mode 100644
index 0000000..ce50395
--- /dev/null
+++ b/GNU/libcdio-paranoia/Makefile
@@ -0,0 +1,45 @@
+#
+# 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 = 10.2.2.0.1
+
+pkgname = libcdio-paranoia
+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 version in $(versions) ; do \
+ vers=`echo $${version} | sed 's,\.,\+,2'` ; \
+ wget -N $(url)/$(pkgname)-$${vers}.$(suffix) ; \
+ tar xjf $(pkgname)-$${vers}.$(suffix) ; \
+ rm -f $(pkgname)-$${vers}.$(suffix) ; \
+ mv $(pkgname)-$${vers} $(pkgname)-$${version} ; \
+ tar cjf $(pkgname)-$${version}.$(suffix) $(pkgname)-$${version} ; \
+ rm -rf $(pkgname)-$${version} ; \
+ 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)
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)