blob: 1d564fced957267d5706c7e5c70440847f51ea9e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
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 \
--without-x"
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
}
|