blob: 4afdeb10b382defecbd33a438d50875d04a0ee53 [file] [log] [blame]
rjw1f884582022-01-06 17:20:42 +08001DESCRIPTION = "divx library"
2LICENSE = "MediaTekProprietary"
3LIC_FILES_CHKSUM = "file://NOTICE;md5=e1696b147d49d491bcb4da1a57173fff"
4SECTION = "libs"
5
6inherit workonsrc
7WORKONSRC = "${TOPDIR}/../src/multimedia/divx"
8
9RDEPENDS_${PN} = "libgcc"
10RDEPENDS_${PN} += "libstdc++"
11
12inherit pkgconfig
13
14do_configure() {
15 :
16}
17
18do_compile() {
19 oe_runmake \
20 PACKAGE_ARCH="${PACKAGE_ARCH}" \
21 CFLAGS="`pkg-config` ${CFLAGS}" \
22 LDFLAGS="`pkg-config` ${LDFLAGS}"
23}
24
25do_install() {
26 oe_runmake \
27 PREFIX="${prefix}" DESTDIR="${D}" PACKAGE_ARCH="${PACKAGE_ARCH}" install
28}
29
30INSANE_SKIP_${PN} += "already-stripped"
31FILES_${PN}-dev = "dev-elf"
32FILES_${PN} += "${libdir}"
33
34SECURITY_CFLAGS_pn-${PN} = "${SECURITY_NO_PIE_CFLAGS}"