DESCRIPTION = "Image loading library"
LICENSE = "GPLv2"
DEPENDS = "gtk+-1.2 jpeg tiff libpng libungif"

inherit gnome binconfig

SRC_URI += "file://configure.patch"

EXTRA_OECONF = " --enable-modules \
		 --disable-gtktest \
		ac_cv_dynworks=true \
		"

do_stage() {
	install -m 644 Imlib/*.h ${STAGING_INCDIR}
	install -m 644 gdk_imlib/*.h ${STAGING_INCDIR}
	oe_libinstall -a -so -C Imlib libImlib ${STAGING_LIBDIR}
	oe_libinstall -a -so -C gdk_imlib libgdk_imlib ${STAGING_LIBDIR}
}


SRC_URI[archive.md5sum] = "7db987e6c52e4daf70d7d0f471238eae"
SRC_URI[archive.sha256sum] = "4e6a270308a9ae16586bfc133c1a3dfb2e56f431edb66aaa3a80e36e5ed84ce0"