aboutsummaryrefslogtreecommitdiffstats
path: root/meta-multimedia/recipes-mkv
diff options
context:
space:
mode:
authorKoen Kooi <koen@dominion.thruhere.net>2013-01-27 15:41:16 +0000
committerMartin Jansa <Martin.Jansa@gmail.com>2013-01-27 23:54:09 +0100
commitdd7acc094e6e554cad58287939f2cf57d89985fd (patch)
tree7cffb29b76172ee52911c221210f14471bf5f8b9 /meta-multimedia/recipes-mkv
parented0557d136d059cfa10b883b276f839ed4ad42d3 (diff)
downloadmeta-openembedded-contrib-dd7acc094e6e554cad58287939f2cf57d89985fd.tar.gz
meta-openembedded-contrib-dd7acc094e6e554cad58287939f2cf57d89985fd.tar.bz2
meta-openembedded-contrib-dd7acc094e6e554cad58287939f2cf57d89985fd.zip
libebml: add 1.2.2
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-multimedia/recipes-mkv')
-rw-r--r--meta-multimedia/recipes-mkv/libebml/libebml_1.2.2.bb31
1 files changed, 31 insertions, 0 deletions
diff --git a/meta-multimedia/recipes-mkv/libebml/libebml_1.2.2.bb b/meta-multimedia/recipes-mkv/libebml/libebml_1.2.2.bb
new file mode 100644
index 0000000000..210a409953
--- /dev/null
+++ b/meta-multimedia/recipes-mkv/libebml/libebml_1.2.2.bb
@@ -0,0 +1,31 @@
+SUMMARY = "libebml is a C++ libary to parse EBML files."
+LICENSE = "LGPLv2.1"
+LIC_FILES_CHKSUM = "file://LICENSE.LGPL;md5=f14599a2f089f6ff8c97e2baa4e3d575"
+
+SRC_URI = "http://dl.matroska.org/downloads/libebml/libebml-${PV}.tar.bz2"
+SRC_URI[md5sum] = "726cc2bd1a525929ff35ff9854c0ebab"
+SRC_URI[sha256sum] = "476b08c6436a96c024a53e788e7c945ce9b41cd8654165763444aa7e5245b7a5"
+
+do_compile() {
+ cd ${S}/make/linux
+ oe_runmake CROSS="${TARGET_PREFIX}"
+}
+
+do_install() {
+ cd ${S}/make/linux
+
+ install -d ${D}${libdir}
+ install -m 0644 libebml.a ${D}${libdir}
+ install -m 0755 libebml.so.* ${D}${libdir}
+ cp -a libebml.so ${D}${libdir}
+
+ install -d ${D}${includedir}/ebml
+ for i in ../../ebml/*.h; do
+ install -m 0644 $i ${D}${includedir}/ebml
+ done
+
+ install -d ${D}${includedir}/ebml/c
+ for i in ../../ebml/c/*.h; do
+ install -m 0644 $i ${D}${includedir}/ebml/c
+ done
+}