diff options
Diffstat (limited to 'meta-multimedia/recipes-mkv')
-rw-r--r-- | meta-multimedia/recipes-mkv/libebml/libebml_1.2.2.bb | 31 |
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 000000000..210a40995 --- /dev/null +++ b/meta-multimedia/recipes-mkv/libebml/libebml_1.2.2.bb | |||
@@ -0,0 +1,31 @@ | |||
1 | SUMMARY = "libebml is a C++ libary to parse EBML files." | ||
2 | LICENSE = "LGPLv2.1" | ||
3 | LIC_FILES_CHKSUM = "file://LICENSE.LGPL;md5=f14599a2f089f6ff8c97e2baa4e3d575" | ||
4 | |||
5 | SRC_URI = "http://dl.matroska.org/downloads/libebml/libebml-${PV}.tar.bz2" | ||
6 | SRC_URI[md5sum] = "726cc2bd1a525929ff35ff9854c0ebab" | ||
7 | SRC_URI[sha256sum] = "476b08c6436a96c024a53e788e7c945ce9b41cd8654165763444aa7e5245b7a5" | ||
8 | |||
9 | do_compile() { | ||
10 | cd ${S}/make/linux | ||
11 | oe_runmake CROSS="${TARGET_PREFIX}" | ||
12 | } | ||
13 | |||
14 | do_install() { | ||
15 | cd ${S}/make/linux | ||
16 | |||
17 | install -d ${D}${libdir} | ||
18 | install -m 0644 libebml.a ${D}${libdir} | ||
19 | install -m 0755 libebml.so.* ${D}${libdir} | ||
20 | cp -a libebml.so ${D}${libdir} | ||
21 | |||
22 | install -d ${D}${includedir}/ebml | ||
23 | for i in ../../ebml/*.h; do | ||
24 | install -m 0644 $i ${D}${includedir}/ebml | ||
25 | done | ||
26 | |||
27 | install -d ${D}${includedir}/ebml/c | ||
28 | for i in ../../ebml/c/*.h; do | ||
29 | install -m 0644 $i ${D}${includedir}/ebml/c | ||
30 | done | ||
31 | } | ||