blob: 78d609a8bdf1e5a5bda67f767ad861e2d1fcaa2a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
SECTION = "libs"
include imlib2_${PV}.oe
inherit native
DEPENDS = "freetype-native"
EXTRA_OECONF = "--without-x"
PR = "r1"
FILESDIR = "${@os.path.dirname(oe.data.getVar('FILE',d,1))}/imlib2-${PV}"
do_configure () {
rm -f ${S}/libltdl/acinclude.m4
autotools_do_configure
}
do_stage () {
oe_libinstall -a -so -C src libImlib2 ${STAGING_LIBDIR}/
install -m 0644 ${S}/src/Imlib2.h ${STAGING_INCDIR}/
install -d ${STAGING_LIBDIR}/loaders/image/
install -m 0755 loaders/.libs/*.so ${STAGING_LIBDIR}/loaders/image/
}
|