3 DESCRIPTION = "gd is a library used to create PNG, JPEG, or WBMP images."
4 MAINTAINER = "Chris Larson <kergoth@handhelds.org>"
5 DEPENDS = "libpng jpeg zlib"
8 SRC_URI = "http://www.boutell.com/gd/http/gd-${PV}.tar.gz"
9 S = "${WORKDIR}/gd-${PV}"
11 inherit autotools binconfig gettext
13 PACKAGES =+ "lib${PN}"
14 FILES_lib${PN} = "${libdir}/lib*.so.*"
16 EXTRA_OECONF += " --with-zlib=${STAGING_LIBDIR}/.. \
17 --with-png=${STAGING_LIBDIR}/.. \
18 --with-jpeg=${STAGING_LIBDIR}/.. \
21 headers = "gd.h gdcache.h gd_io.h gdfx.h gdfontmb.h \
22 gdfontg.h gdfontl.h gdfonts.h gdfontt.h"
25 oe_libinstall -so -a libgd ${STAGING_LIBDIR}/
26 for i in ${headers}; do
27 install -m 0644 $i ${STAGING_INCDIR}/