[vlc-commits] Contribs: add SRC

Jean-Baptiste Kempf git at videolan.org
Sat Oct 22 04:03:11 CEST 2011


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sat Oct 22 04:02:52 2011 +0200| [a8e454035dbfc01f4607e69b6271fad25163f730] | committer: Jean-Baptiste Kempf

Contribs: add SRC

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=a8e454035dbfc01f4607e69b6271fad25163f730
---

 contrib/src/samplerate/SHA512SUMS |    1 +
 contrib/src/samplerate/rules.mak  |   22 ++++++++++++++++++++++
 2 files changed, 23 insertions(+), 0 deletions(-)

diff --git a/contrib/src/samplerate/SHA512SUMS b/contrib/src/samplerate/SHA512SUMS
new file mode 100644
index 0000000..0d9ad40
--- /dev/null
+++ b/contrib/src/samplerate/SHA512SUMS
@@ -0,0 +1 @@
+85d93df24d9d62e7803a5d0ac5d268b2085214adcb160e32fac316b12ee8a0ce36ccfb433a3c0a08f6e3ec418a5962bdb84f8a11262286a9b347436983029a7d  libsamplerate-0.1.8.tar.gz
diff --git a/contrib/src/samplerate/rules.mak b/contrib/src/samplerate/rules.mak
new file mode 100644
index 0000000..6766e46
--- /dev/null
+++ b/contrib/src/samplerate/rules.mak
@@ -0,0 +1,22 @@
+# SAMPLERATE
+SAMPLERATE_VERSION := 0.1.8
+SAMPLERATE_URL := http://www.mega-nerd.com/SRC/libsamplerate-$(SAMPLERATE_VERSION).tar.gz
+
+PKGS += samplerate
+ifeq ($(call need_pkg,"samplerate"),)
+PKGS_FOUND += samplerate
+endif
+
+$(TARBALLS)/libsamplerate-$(SAMPLERATE_VERSION).tar.gz:
+	$(call download,$(SAMPLERATE_URL))
+
+.sum-samplerate: libsamplerate-$(SAMPLERATE_VERSION).tar.gz
+
+samplerate: libsamplerate-$(SAMPLERATE_VERSION).tar.gz .sum-samplerate
+	$(UNPACK)
+	$(MOVE)
+
+.samplerate: samplerate
+	cd $< && $(HOSTVARS) ./configure $(HOSTCONF)
+	cd $< && $(MAKE) install
+	touch $@



More information about the vlc-commits mailing list