1 DESCRIPTION = "Anti Grain Geometry - A High Quality Rendering Engine for C++"
2 AUTHOR = "mcseem@antigrain.com"
3 HOMEPAGE = "http://www.antigrain.com"
5 LICENSE = "AGG License"
10 SRC_URI = "http://www.antigrain.com/agg-${PV}.tar.gz"
11 SRC_URI += "http://www.wxsvg.org/files/agg-2.5_cygming.patch;patch=1"
12 S = "${WORKDIR}/agg-${PV}"
14 inherit autotools pkgconfig
16 CFLAGS += " -I{$STAGING_INCDIR} "
18 FILES_${PN} = "${libdir}/libagg.so.* \
19 ${libdir}/libaggfontfreetype.so.*"
21 LEAD_SONAME = "libagg.so"
23 EXTRA_OECONF = "--disable-gpc --without-x --disable-examples --disable-ctrl \
24 --disable-platform --disable-win32tt --disable-sdltest"
27 oe_libinstall -a -so libagg ${STAGING_LIBDIR}
28 oe_libinstall -a -so libaggfontfreetype ${STAGING_LIBDIR}
29 install -m 0644 libagg.m4 ${STAGING_DATADIR}/aclocal/
30 install -d ${STAGING_INCDIR}/agg2
32 for f in font_freetype font_win32_tt gpc
34 install -m 0644 ${S}/$f/*.h ${STAGING_INCDIR}/agg2/
38 headers=`find . -name "*.h"`
41 install -D -m 0644 $f ${STAGING_INCDIR}/agg2/$f