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 02:55:23 +0300 committer: kx <kx@radix.pro> 2024-01-11 02:55:23 +0300 commit: 873d89b93a2644a634f3782c8608721c87f2f2d2 parent: eeffb0c8292aba8bc5bdab395340e9b9343ab69a
Commit Summary:
a52dec-0.8.0
Diffstat:
2 files changed, 30 insertions, 0 deletions
diff --git a/packages/m/Makefile b/packages/m/Makefile
index ead1dee..02a10ac 100644
--- a/packages/m/Makefile
+++ b/packages/m/Makefile
@@ -6,6 +6,7 @@
 
 SUBDIRS := OpenMAX      \
            VideoLAN     \
+           a52dec       \
            alsa         \
            amp          \
            amr          \
diff --git a/packages/m/a52dec/Makefile b/packages/m/a52dec/Makefile
new file mode 100644
index 0000000..afae0ab
--- /dev/null
+++ b/packages/m/a52dec/Makefile
@@ -0,0 +1,39 @@
+#
+# Project Home:
+# ============
+#   https://git.adelielinux.org/community/a52dec/
+#
+# Downloads:
+# =========
+#   https://distfiles.adelielinux.org/source/a52dec/
+#
+
+url         = https://distfiles.adelielinux.org/source/a52dec
+
+versions    = 0.8.0
+
+pkgname     = a52dec
+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)