summaryrefslogtreecommitdiff
path: root/recipes
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2010-04-01 16:47:35 +0200
committerKoen Kooi <koen@openembedded.org>2010-04-01 19:59:10 +0200
commit77ac4e474c74299d3a0226a5f5975387881adb38 (patch)
treeeb90b837e517ad6523d92802d28c52b05b159c29 /recipes
parentc293a9a3d3c58117cc0b086936383ca1fb2d7b1d (diff)
glib 1.2: move to new style staging
Diffstat (limited to 'recipes')
-rw-r--r--recipes/glib-1.2/glib-1.2_1.2.10.bb16
1 files changed, 6 insertions, 10 deletions
diff --git a/recipes/glib-1.2/glib-1.2_1.2.10.bb b/recipes/glib-1.2/glib-1.2_1.2.10.bb
index 72eca3a16a..309b5bfa5e 100644
--- a/recipes/glib-1.2/glib-1.2_1.2.10.bb
+++ b/recipes/glib-1.2/glib-1.2_1.2.10.bb
@@ -4,7 +4,7 @@ SECTION = "libs"
PRIORITY = "optional"
LICENSE = "LGPL"
DEPENDS = "glib-1.2-native"
-PR = "r3"
+PR = "r4"
LEAD_SONAME = "libglib-1.2.*"
@@ -31,15 +31,11 @@ do_configure_prepend () {
rm -f ltconfig acinclude.m4 libtool ltmain.sh
}
-do_stage () {
- oe_libinstall -so libglib ${STAGING_LIBDIR}
- oe_libinstall -so -C gmodule libgmodule ${STAGING_LIBDIR}
- oe_libinstall -so -C gthread libgthread ${STAGING_LIBDIR}
- autotools_stage_includes
- install -d ${STAGING_INCDIR}/glib-1.2
- install -m 0644 glibconfig.h glib.h ${STAGING_INCDIR}/glib-1.2/
- install -d ${STAGING_DATADIR}/aclocal
- install -m 0644 ${S}/glib.m4 ${STAGING_DATADIR}/aclocal/glib-1.2.m4
+do_install_append () {
+ install -d ${D}${includedir}/glib-1.2
+ install -m 0644 glibconfig.h glib.h ${D}${includedir}/glib-1.2/
+ install -d ${D}${datadir}/aclocal
+ install -m 0644 ${S}/glib.m4 ${D}${datadir}/aclocal/glib-1.2.m4
}
FILES_${PN}-dev += "${libdir}/glib/include/glibconfig.h"