[vlc-commits] contrib: add mpg123
Felix Paul Kühne
git at videolan.org
Fri Nov 28 13:39:24 CET 2014
vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Fri Nov 28 13:36:39 2014 +0100| [511877e26bdb8b161308888c43a0ca80484c40ed] | committer: Felix Paul Kühne
contrib: add mpg123
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=511877e26bdb8b161308888c43a0ca80484c40ed
---
contrib/src/mpg123/SHA512SUMS | 1 +
contrib/src/mpg123/rules.mak | 23 +++++++++++++++++++++++
2 files changed, 24 insertions(+)
diff --git a/contrib/src/mpg123/SHA512SUMS b/contrib/src/mpg123/SHA512SUMS
new file mode 100644
index 0000000..c464b83
--- /dev/null
+++ b/contrib/src/mpg123/SHA512SUMS
@@ -0,0 +1 @@
+8c48037981d3ff8a2e863a781b2d22226a820d63d334c11dcc2868d715ef696ece7a302d1df0550a5fe936ad19ef87bdddf3c8cc8a7339998f229671dc5cc48c mpg123-1.21.0.tar.bz2
diff --git a/contrib/src/mpg123/rules.mak b/contrib/src/mpg123/rules.mak
new file mode 100644
index 0000000..9566b9c
--- /dev/null
+++ b/contrib/src/mpg123/rules.mak
@@ -0,0 +1,23 @@
+# mpg123
+MPG123_VERSION := 1.21.0
+MPG123_URL := $(SF)/mpg123/$(MPG123_VERSION)/mpg123-$(MPG123_VERSION).tar.bz2
+
+PKGS += mpg123
+ifeq ($(call need_pkg,"mpg123"),)
+PKGS_FOUND += mpg123
+endif
+
+$(TARBALLS)/mpg123-$(MPG123_VERSION).tar.bz2:
+ $(call download,$(MPG123_URL))
+
+.sum-mpg123: mpg123-$(MPG123_VERSION).tar.bz2
+
+mpg123: mpg123-$(MPG123_VERSION).tar.bz2 .sum-mpg123
+ $(UNPACK)
+ $(MOVE)
+
+.mpg123: mpg123
+ $(RECONF)
+ cd $< && $(HOSTVARS) ./configure $(HOSTCONF)
+ cd $< && $(MAKE) install
+ touch $@
More information about the vlc-commits
mailing list