diff options
Diffstat (limited to 'gd/gd_2.0.22.oe')
| -rw-r--r-- | gd/gd_2.0.22.oe | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/gd/gd_2.0.22.oe b/gd/gd_2.0.22.oe index e69de29bb2..f50948b1bf 100644 --- a/gd/gd_2.0.22.oe +++ b/gd/gd_2.0.22.oe @@ -0,0 +1,24 @@ +SECTION = "libs" +DESCRIPTION = "gd is a library used to create PNG, JPEG, or WBMP images." +MAINTAINER = "Chris Larson <kergoth@handhelds.org>" +DEPENDS = "libpng jpeg zlib gettext-native" + +SRC_URI = "http://www.boutell.com/gd/http/gd-${PV}.tar.gz" +S = "${WORKDIR}/gd-${PV}" + +inherit autotools + +EXTRA_OECONF += " --with-zlib=${STAGING_LIBDIR}/.. \ + --with-png=${STAGING_LIBDIR}/.. \ + --with-jpeg=${STAGING_LIBDIR}/.. \ + --without-xpm" + +headers = "gd.h gdcache.h gd_io.h gdfx.h gdfontmb.h \ + gdfontg.h gdfontl.h gdfonts.h gdfontt.h" + +do_stage () { + oe_libinstall -so -a libgd ${STAGING_LIBDIR}/ + for i in ${headers}; do + install -m 0644 $i ${STAGING_INCDIR}/ + done +} |
