Commit a940cedb authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

contrib: ebml

parent 9596739f
0de247ff5af3de551173c8b7351121717800223d7fa0f142a15cdef0005ee8922dcbcc9811bb4a9efb9e937a42975690e0727a1cf681ca51f114f7426715790f libebml-1.2.0.tar.bz2
# 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 $@
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment