48033cfdb4daa840a90febad88d21e843c35cee8
[vuplus_openembedded] / imlib2 / imlib2_1.1.0.oe
1 SECTION = "x11/libs"
2 DESCRIPTION = "A graphic library for file loading, saving, rendering, and \
3 manipulation."
4 MAINTAINER = "Chris Larson <kergoth@handhelds.org>"
5 DEPENDS = "freetype x11 xext"
6
7 SRC_URI = "${SOURCEFORGE_MIRROR}/enlightenment/imlib2-${PV}.tar.gz \
8            file://cross.patch;patch=1 \
9            file://gcc34.patch;patch=1 \
10            file://pkglibdir.patch;patch=1 \
11            file://autofoo.patch;patch=1"
12 S = "${WORKDIR}/imlib2-${PV}"
13
14 inherit autotools pkgconfig binconfig
15
16 # FIXME: enable mmx for archs that support it, or patch imlib's
17 # configure script to check and see if it can compile assembly
18 # that uses mmx instructions.
19 EXTRA_OECONF = "--x-includes=${STAGING_INCDIR} \
20                 --x-libraries=${STAGING_LIBDIR} \
21                 --disable-mmx"
22
23 do_configure () {
24         rm -f ${S}/libltdl/acinclude.m4
25         autotools_do_configure
26 }
27
28 do_stage () {
29         oe_libinstall -a -so -C src libImlib2 ${STAGING_LIBDIR}/
30         install -m 0644 ${S}/src/Imlib2.h ${STAGING_INCDIR}/
31 }