summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunqian Gordon Xu <xjqian@gmail.com>2008-01-10 06:00:24 +0000
committerJunqian Gordon Xu <xjqian@gmail.com>2008-01-10 06:00:24 +0000
commit9e94f8715c6181213dd7589632598e2a1592e759 (patch)
treeec212f6a02b98c4b40f927035a5dd8d8303cc421
parent9f5607c486dcd53be6a3d91b31e54f85a91a0290 (diff)
agg_2.5: fix staging (missing headers for thir party application)
* header files under font_* are needed by applications building agaist agg (e.g., roadmap gtk2) * not sure about gpc.h, but put into staging nevertheless.
-rw-r--r--packages/agg/agg_2.5.bb11
1 files changed, 7 insertions, 4 deletions
diff --git a/packages/agg/agg_2.5.bb b/packages/agg/agg_2.5.bb
index a3cf4b9557..ba76a7b4c6 100644
--- a/packages/agg/agg_2.5.bb
+++ b/packages/agg/agg_2.5.bb
@@ -5,7 +5,7 @@ SECTION = "libs"
LICENSE = "AGG License"
DEPENDS = "virtual/libx11 virtual/libsdl freetype"
-PR = "r0"
+PR = "r1"
SRC_URI = "http://www.antigrain.com/${P}.tar.gz"
S = "${WORKDIR}/${P}"
@@ -32,6 +32,12 @@ do_stage() {
oe_libinstall -a -so libaggplatformsdl ${STAGING_LIBDIR}
install -m 0644 libagg.m4 ${STAGING_DATADIR}/aclocal/
install -d ${STAGING_INCDIR}/agg2
+
+ for f in font_freetype font_win32_tt gpc
+ do
+ install -m 0644 ${S}/$f/*.h ${STAGING_INCDIR}/agg2/
+ done
+
cd include
headers=`find . -name "*.h"`
for f in $headers
@@ -39,6 +45,3 @@ do_stage() {
install -D -m 0644 $f ${STAGING_INCDIR}/agg2/$f
done
}
-
-
-