2 DESCRIPTION = "A graphic library for file loading, saving, rendering, and \
4 MAINTAINER = "Chris Larson <kergoth@handhelds.org>"
5 DEPENDS = "freetype x11 xext"
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}"
14 inherit autotools pkgconfig binconfig
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} \
24 rm -f ${S}/libltdl/acinclude.m4
25 autotools_do_configure
29 oe_libinstall -a -so -C src libImlib2 ${STAGING_LIBDIR}/
30 install -m 0644 ${S}/src/Imlib2.h ${STAGING_INCDIR}/