blob: f7990b6f65406867564a13a07b5f26d3721032c0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# Copyright (C) 2011 Freescale Semiconductor
# Released under the MIT license (see COPYING.MIT for the terms)
DESCRIPTION = "Freescale mm codec libs"
SECTION = "multimedia"
LICENSE = "Proprietary"
DEPENDS = "pkgconfig"
LIC_FILES_CHKSUM = "file://docs/EULA.txt;md5=ea4d5c069d7aef0838a110409ea78a01"
INC_PR = "r1"
INSANE_SKIP_${PN} = "ldflags"
INSANE_SKIP_${PN}-dev = "ldflags"
SRC_URI = "file://${PN}-${PV}.tar.gz"
do_install () {
install -d ${D}${libdir}
install -d ${D}${libdir}/pkgconfig
install -d ${D}${includedir}/mm_ghdr
cp -r ${S}/release/lib/* ${D}${libdir}
cp -r ${S}/ghdr/* ${D}${includedir}/mm_ghdr
install -m 0644 ${S}/pkgconfig/fsl-mm-core.pc ${D}${libdir}/pkgconfig
# Fix file permissions
find ${D} -type f -exec chmod a-x '{}' ';'
}
FILES_${PN} += "${libdir}/${SOLIBS}"
FILES_${PN}-dev += "${libdir}/${SOLIBSDEV}"
PACKAGE_ARCH = "${MACHINE_ARCH}"
|