summaryrefslogtreecommitdiff
path: root/packages/agg/agg_2.5.bb
diff options
context:
space:
mode:
authorBignaux Ronan <ronan@aimao.org>2007-06-28 09:44:36 +0000
committerKoen Kooi <koen@openembedded.org>2007-06-28 09:44:36 +0000
commitab3edd2ae9cb4c00cf71c6c330275d0282020a5f (patch)
tree4bf82ecc0409089a2bfa2e3a79451625272b0b7d /packages/agg/agg_2.5.bb
parent224a0ecb9e4281cd9a3511af3469742c4456e83b (diff)
agg: add antigrain 2.5, closes #1464
Diffstat (limited to 'packages/agg/agg_2.5.bb')
-rw-r--r--packages/agg/agg_2.5.bb40
1 files changed, 40 insertions, 0 deletions
diff --git a/packages/agg/agg_2.5.bb b/packages/agg/agg_2.5.bb
new file mode 100644
index 0000000000..ad370948e8
--- /dev/null
+++ b/packages/agg/agg_2.5.bb
@@ -0,0 +1,40 @@
+DESCRIPTION = "Anti Grain Geometry - A High Quality Rendering Engine for C++"
+AUTHOR = "mcseem@antigrain.com"
+HOMEPAGE = "http://www.antigrain.com"
+SECTION = "libs"
+LICENSE = "AGG License"
+DEPENDS = "virtual/libx11 virtual/libsdl freetype"
+
+PR = "r0"
+
+SRC_URI = "http://www.antigrain.com/${P}.tar.gz"
+
+S = "${WORKDIR}/${P}"
+
+inherit autotools pkgconfig
+
+EXTRA_OECONF = "--with-sdl-exec-prefix=${STAGING_DIR}/${BUILD_SYS}"
+CFLAGS += " -I{$STAGING_INCDIR} "
+
+PACKAGES =+ "${PN}-sdl ${PN}-x11"
+
+FILES_${PN}-sdl = "${libdir}/libaggplatformsdl.so.*"
+FILES_${PN}-x11 += "${libdir}/libaggplatformX11.so.*"
+FILES_${PN} = "${libdir}/libagg.so.* \
+ ${libdir}/libaggfontfreetype.so.*"
+
+LEAD_SONAME = "libagg.so"
+
+do_stage() {
+ install -m 0644 libagg.m4 ${STAGING_DATADIR}/aclocal/
+ install -d ${STAGING_INCDIR}/agg2
+ cd include
+ headers=`find . -name "*.h"`
+ for f in $headers
+ do
+ install -m 0644 $f ${STAGING_INCDIR}/agg2/$f
+ done
+}
+
+
+