gd: Added by eFfeM@openembedded.org
authorRod Whitby <rod@whitby.id.au>
Wed, 4 Jan 2006 11:42:27 +0000 (11:42 +0000)
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>
Wed, 4 Jan 2006 11:42:27 +0000 (11:42 +0000)
packages/gd/gd_2.0.33.bb [new file with mode: 0644]

diff --git a/packages/gd/gd_2.0.33.bb b/packages/gd/gd_2.0.33.bb
new file mode 100644 (file)
index 0000000..4415c81
--- /dev/null
@@ -0,0 +1,28 @@
+SECTION = "libs"
+LICENSE = "GD"
+DESCRIPTION = "gd is a library used to create PNG, JPEG, or WBMP images."
+MAINTAINER = "Chris Larson <kergoth@handhelds.org>"
+DEPENDS = "libpng jpeg zlib"
+PR = "r0"
+
+SRC_URI = "http://www.boutell.com/gd/http/gd-${PV}.tar.gz"
+S = "${WORKDIR}/gd-${PV}"
+
+inherit autotools binconfig gettext
+
+EXTRA_OECONF += " --with-zlib=${STAGING_LIBDIR}/.. \
+                  --with-png=${STAGING_LIBDIR}/.. \
+                  --with-jpeg=${STAGING_LIBDIR}/.. \
+                  --without-xpm"
+
+EXTRA_OEMAKE = "LDFLAGS=-L${STAGING_LIBDIR}"
+
+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
+}