summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkx <kx@radix.pro>2024-01-11 02:55:23 +0300
committerkx <kx@radix.pro>2024-01-11 02:55:23 +0300
commit873d89b93a2644a634f3782c8608721c87f2f2d2 (patch)
treee4ccf2dd48ff0e1310d80c58c918ac6b3197a503
parenteeffb0c8292aba8bc5bdab395340e9b9343ab69a (diff)
downloadsources-873d89b93a2644a634f3782c8608721c87f2f2d2.tar.xz
a52dec-0.8.0
-rw-r--r--packages/m/Makefile1
-rw-r--r--packages/m/a52dec/Makefile39
2 files changed, 40 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)