diff options
Diffstat (limited to 'packages/imlib2/imlib2.inc')
-rw-r--r-- | packages/imlib2/imlib2.inc | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/packages/imlib2/imlib2.inc b/packages/imlib2/imlib2.inc index e69de29bb2..fce10c2eb3 100644 --- a/packages/imlib2/imlib2.inc +++ b/packages/imlib2/imlib2.inc @@ -0,0 +1,27 @@ +DESCRIPTION = "A graphic library for file loading, saving, rendering, and manipulation." +HOMEPAGE = "http://www.enlightenment.org" +LICENSE = "BSD" +SECTION = "e/libs" +PRIORITY = "optional" +PROVIDES = "virtual/imlib2" +DEPENDS = "freetype libpng jpeg" + +do_prepsources () { + make clean distclean || true +} +addtask prepsources after do_fetch before do_unpack + +SRC_URI = "http://enlightenment.freedesktop.org/files/imlib2-${PV}.tar.gz" +S = "${WORKDIR}/imlib2-${PV}" + +inherit autotools pkgconfig binconfig + +do_stage () { + oe_libinstall -C src/lib libImlib2 ${STAGING_LIBDIR}/ + install -m 0644 ${S}/src/lib/Imlib2.h ${STAGING_INCDIR}/ +} + +PACKAGES += "${PN}-bin" +FILES_${PN} = "${libdir}/lib*.so.* ${libdir}/imlib2" +FILES_${PN}-dev += "${bindir}/imlib2-config" +FILES_${PN}-bin = "${bindir}" |