summaryrefslogtreecommitdiff
path: root/imlib2/imlib2-native_1.1.0.oe
blob: d6a356f9091b0e9c890ea46869cfc4e46ce1030c (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}/imlib2/loaders/image/
	install -m 0755 loaders/.libs/*.so ${STAGING_LIBDIR}/imlib2/loaders/image/
}