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"
7 SRC_URI = "http://www.boutell.com/gd/http/gd-${PV}.tar.gz"
8 S = "${WORKDIR}/gd-${PV}"
10 inherit autotools gettext
12 EXTRA_OECONF += " --with-zlib=${STAGING_LIBDIR}/.. \
13 --with-png=${STAGING_LIBDIR}/.. \
14 --with-jpeg=${STAGING_LIBDIR}/.. \
17 headers = "gd.h gdcache.h gd_io.h gdfx.h gdfontmb.h \
18 gdfontg.h gdfontl.h gdfonts.h gdfontt.h"
21 oe_libinstall -so -a libgd ${STAGING_LIBDIR}/
22 for i in ${headers}; do
23 install -m 0644 $i ${STAGING_INCDIR}/