summaryrefslogtreecommitdiff
path: root/meta/packages/helix/helix-libs.bb
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2009-11-17 14:32:08 +0000
committerRichard Purdie <rpurdie@linux.intel.com>2009-11-17 14:32:08 +0000
commit40abdeadf7a4fca26ffbe39972b4cdfa9412e145 (patch)
treee1c68dbe84598d8a49bf999a95016807329413bd /meta/packages/helix/helix-libs.bb
parentcb5f3a4c9affaabf2cbe5eb46b2ff59b5558c4f8 (diff)
downloadopenembedded-core-40abdeadf7a4fca26ffbe39972b4cdfa9412e145.tar.gz
openembedded-core-40abdeadf7a4fca26ffbe39972b4cdfa9412e145.tar.bz2
openembedded-core-40abdeadf7a4fca26ffbe39972b4cdfa9412e145.zip
helix-libs/ribosome: Convert to use do_install for staging
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/packages/helix/helix-libs.bb')
-rw-r--r--meta/packages/helix/helix-libs.bb26
1 files changed, 7 insertions, 19 deletions
diff --git a/meta/packages/helix/helix-libs.bb b/meta/packages/helix/helix-libs.bb
index 604ec622c6..9fcbd4b67f 100644
--- a/meta/packages/helix/helix-libs.bb
+++ b/meta/packages/helix/helix-libs.bb
@@ -25,29 +25,13 @@ do_compile() {
${BUILD} -k -trelease -mclutter -Phelix-client-all-defines clutter
}
-do_stage() {
- mkdir -p ${STAGING_DIR_HOST}/opt/helix/lib
- mkdir -p ${STAGING_DIR_HOST}/opt/helix/include
- mkdir -p ${STAGING_DIR_HOST}/usr/lib/pkgconfig
-
- install -m 0644 clientapps/clutter/player.h \
- ${STAGING_DIR_HOST}/opt/helix/include
- install -m 0644 ../helix-libs/helix-player.pc \
- ${STAGING_DIR_HOST}/usr/lib/pkgconfig
-
- install -m 0644 release/*.so ${STAGING_DIR_HOST}/opt/helix/lib
-
- install -d ${STAGING_DIR_HOST}${libdir}
- install -m 0644 release/libhelix-player.so ${STAGING_DIR_HOST}${libdir}
-}
-
do_install() {
- mkdir -p ${D}/opt/helix/lib
+ mkdir -p ${D}/opt/helix/lib
mkdir -p ${D}/opt/helix/include
- mkdir -p ${D}/usr/lib/pkgconfig
+ mkdir -p ${D}${libdir}/pkgconfig
install -m 0644 clientapps/clutter/player.h ${D}/opt/helix/include/
- install -m 0644 ../helix-libs/helix-player.pc ${D}/usr/lib/pkgconfig
+ install -m 0644 ../helix-libs/helix-player.pc ${D}${libdir}/pkgconfig
install -m 0644 release/*.so ${D}/opt/helix/lib
@@ -55,6 +39,10 @@ do_install() {
install -m 0644 release/libhelix-player.so ${D}${libdir}
}
+sysroot_stage_all_append() {
+ sysroot_stage_dir ${D}/opt/helix ${SYSROOT_DESTDIR}/${STAGING_DIR_TARGET}/helix
+}
+
FILES_${PN} = "/usr/lib/libhelix-player.so"
FILES_${PN} += "/opt/helix/lib"
FILES_${PN}-dev = "/usr/lib/pkgconfig"