blob: 4ca5fffa9357d8ab202c7a6fd2a4e40463a4ebc0 [file] [log] [blame]
rjw1f884582022-01-06 17:20:42 +08001inherit workonsrc
2DESCRIPTION = "libnr"
3LICENSE = "MediaTekProprietary"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=e1696b147d49d491bcb4da1a57173fff"
5#DEPENDS = ""
6WORKONSRC = "${TOPDIR}/../src/multimedia/libcamera_feature/libnr"
7PN='libnr'
8
9inherit pkgconfig
10
11do_compile () {
12 oe_runmake \
13 CFLAGS="${CFLAGS}" \
14 LDFLAGS="${LDFLAGS}"
15}
16
17do_install() {
18 oe_runmake \
19 PREFIX="${prefix}" DESTDIR="${D}" install
20}
21
22# move libs in -dev to normal rpm
23FILES_SOLIBSDEV = ""
24FILES_${PN} = "${libdir}/*.so ${bindir}"