[vlc-commits] contrib: ebml
Rémi Denis-Courmont
git at videolan.org
Tue Jun 28 18:45:32 CEST 2011
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Tue Jun 28 15:42:59 2011 +0300| [a940cedbf08142b8be9ada763d4024503e224276] | committer: Rémi Denis-Courmont
contrib: ebml
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=a940cedbf08142b8be9ada763d4024503e224276
---
contrib/src/ebml/SHA512SUMS | 1 +
contrib/src/ebml/rules.mak | 27 +++++++++++++++++++++++++++
2 files changed, 28 insertions(+), 0 deletions(-)
diff --git a/contrib/src/ebml/SHA512SUMS b/contrib/src/ebml/SHA512SUMS
new file mode 100644
index 0000000..32d863e
--- /dev/null
+++ b/contrib/src/ebml/SHA512SUMS
@@ -0,0 +1 @@
+0de247ff5af3de551173c8b7351121717800223d7fa0f142a15cdef0005ee8922dcbcc9811bb4a9efb9e937a42975690e0727a1cf681ca51f114f7426715790f libebml-1.2.0.tar.bz2
diff --git a/contrib/src/ebml/rules.mak b/contrib/src/ebml/rules.mak
new file mode 100644
index 0000000..b6bdd58
--- /dev/null
+++ b/contrib/src/ebml/rules.mak
@@ -0,0 +1,27 @@
+# ebml
+
+EBML_VERSION := 1.2.0
+EBML_URL := http://dl.matroska.org/downloads/libebml/libebml-$(EBML_VERSION).tar.bz2
+#EBML_URL := $(CONTRIB_VIDEOLAN)/libebml-$(EBML_VERSION).tar.bz2
+
+$(TARBALLS)/libebml-$(EBML_VERSION).tar.bz2:
+ $(DOWNLOAD) $(EBML_URL)
+
+.sum-ebml: $(TARBALLS)/libebml-$(EBML_VERSION).tar.bz2
+ $(CHECK_SHA512)
+ touch $@
+
+libebml: $(TARBALLS)/libebml-$(EBML_VERSION).tar.bz2 .sum-ebml
+ $(UNPACK_BZ2)
+ mv $@-$(EBML_VERSION) $@
+ touch $@
+
+.ebml: libebml
+ifdef HAVE_WIN32
+ cd $< && $(MAKE) -C make/mingw32 prefix="$(PREFIX)" $(HOSTVARS) SHARED=no
+else
+ cd $< && $(MAKE) -C make/linux prefix="$(PREFIX)" $(HOSTVARS) staticlib
+endif
+ cd $< && $(MAKE) -C make/linux install_staticlib install_headers prefix="$(PREFIX)" $(HOSTVARS)
+ $(RANLIB) "$(PREFIX)/lib/libebml.a"
+ touch $@
More information about the vlc-commits
mailing list