diff options
Diffstat (limited to 'meta-multimedia/recipes-mkv/libmatroska/libmatroska_1.4.1.bb')
-rw-r--r-- | meta-multimedia/recipes-mkv/libmatroska/libmatroska_1.4.1.bb | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/meta-multimedia/recipes-mkv/libmatroska/libmatroska_1.4.1.bb b/meta-multimedia/recipes-mkv/libmatroska/libmatroska_1.4.1.bb new file mode 100644 index 000000000..95ea93dbe --- /dev/null +++ b/meta-multimedia/recipes-mkv/libmatroska/libmatroska_1.4.1.bb | |||
@@ -0,0 +1,33 @@ | |||
1 | SUMMARY = "libmatroska is a C++ libary to parse Matroska files (.mkv and .mka)" | ||
2 | LICENSE = "LGPLv2.1" | ||
3 | LIC_FILES_CHKSUM = "file://LICENSE.LGPL;md5=4fbd65380cdd255951079008b364516c" | ||
4 | |||
5 | DEPENDS = "libebml" | ||
6 | |||
7 | SRC_URI = "http://dl.matroska.org/downloads/${BPN}/${BPN}-${PV}.tar.bz2" | ||
8 | SRC_URI[md5sum] = "f61b2e5086f4bb9d24a43cc8af43a719" | ||
9 | SRC_URI[sha256sum] = "086f21873e925679babdabf793c3bb85c353d0cd79423543a3355e08e8a4efb7" | ||
10 | |||
11 | do_compile() { | ||
12 | cd ${S}/make/linux | ||
13 | oe_runmake CROSS="${TARGET_PREFIX}" | ||
14 | } | ||
15 | |||
16 | do_install() { | ||
17 | cd ${S}/make/linux | ||
18 | |||
19 | install -d ${D}${libdir} | ||
20 | install -m 0644 libmatroska.a ${D}${libdir} | ||
21 | install -m 0755 libmatroska.so.* ${D}${libdir} | ||
22 | cp -a libmatroska.so ${D}${libdir} | ||
23 | |||
24 | install -d ${D}${includedir}/matroska | ||
25 | for i in ../../matroska/*.h; do | ||
26 | install -m 0644 $i ${D}${includedir}/matroska | ||
27 | done | ||
28 | |||
29 | install -d ${D}${includedir}/matroska/c | ||
30 | for i in ../../matroska/c/*.h; do | ||
31 | install -m 0644 $i ${D}${includedir}/matroska/c | ||
32 | done | ||
33 | } | ||