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