[vlc-commits] contribs: add modplug
Rémi Denis-Courmont
git at videolan.org
Wed Jun 29 18:14:02 CEST 2011
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Wed Jun 29 12:16:03 2011 +0300| [cc84d03889f48433048136970551322daf3da72b] | committer: Rémi Denis-Courmont
contribs: add modplug
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=cc84d03889f48433048136970551322daf3da72b
---
contrib/src/modplug/SHA512SUMS | 1 +
contrib/src/modplug/rules.mak | 21 +++++++++++++++++++++
2 files changed, 22 insertions(+), 0 deletions(-)
diff --git a/contrib/src/modplug/SHA512SUMS b/contrib/src/modplug/SHA512SUMS
new file mode 100644
index 0000000..ec3de99
--- /dev/null
+++ b/contrib/src/modplug/SHA512SUMS
@@ -0,0 +1 @@
+e8d4e2aec343849be548317ea622f5c7c28e2940c09571221a52098ff2486474d8e23556f8db5cb3511ee53588eebc27be817504d8edb48e0abf932bef016fce libmodplug-0.8.8.3.tar.gz
diff --git a/contrib/src/modplug/rules.mak b/contrib/src/modplug/rules.mak
new file mode 100644
index 0000000..936acb1
--- /dev/null
+++ b/contrib/src/modplug/rules.mak
@@ -0,0 +1,21 @@
+# modplug
+
+MODPLUG_VERSION := 0.8.8.3
+MODPLUG_URL := $(SF)/modplug-xmms/libmodplug-$(MODPLUG_VERSION).tar.gz
+
+PKGS += modplug
+
+$(TARBALLS)/libmodplug-$(MODPLUG_VERSION).tar.gz:
+ $(call download,$(MODPLUG_URL))
+
+.sum-modplug: libmodplug-$(MODPLUG_VERSION).tar.gz
+
+libmodplug: libmodplug-$(MODPLUG_VERSION).tar.gz .sum-modplug
+ $(UNPACK)
+ mv $@-$(MODPLUG_VERSION) $@
+ touch $@
+
+.modplug: libmodplug
+ cd $< && $(HOSTVARS) ./configure $(HOSTCONF)
+ cd $< && $(MAKE) install
+ touch $@
More information about the vlc-commits
mailing list