summaryrefslogtreecommitdiff
path: root/packages/hal/hal_0.5.9.bb
diff options
context:
space:
mode:
authorJunqian Gordon Xu <xjqian@gmail.com>2008-01-08 11:27:32 +0000
committerJunqian Gordon Xu <xjqian@gmail.com>2008-01-08 11:27:32 +0000
commit6ad2bd07863c6b2c469c13e027775ed4a6452641 (patch)
tree2301db29674067f785d09b7de0e5b872bcb79fe1 /packages/hal/hal_0.5.9.bb
parent5e2da92779996fcde15657821fe1cbe2d6b32212 (diff)
hal_0.5.9: improve staging.
Diffstat (limited to 'packages/hal/hal_0.5.9.bb')
-rw-r--r--packages/hal/hal_0.5.9.bb12
1 files changed, 7 insertions, 5 deletions
diff --git a/packages/hal/hal_0.5.9.bb b/packages/hal/hal_0.5.9.bb
index 064e7985ca..e835f80434 100644
--- a/packages/hal/hal_0.5.9.bb
+++ b/packages/hal/hal_0.5.9.bb
@@ -5,7 +5,7 @@ RDEPENDS += "udev hal-info"
#RDEPENDS_hal-device-manager = "python hal python-pygnome"
RRECOMMENDS = "udev-utils"
-PR = "r4"
+PR = "r5"
SRC_URI += "file://99_hal \
file://20hal \
@@ -38,10 +38,12 @@ do_install_append() {
}
do_stage() {
- autotools_stage_all
- install -d ${STAGING_LIBDIR}
- install -m 755 libhal/.libs/libhal.so.1.0.0 ${STAGING_LIBDIR}/libhal.so
- install -m 755 libhal-storage/.libs/libhal-storage.so.1.0.0 ${STAGING_LIBDIR}/libhal-storage.so
+ oe_libinstall -C libhal -a -so libhal ${STAGING_LIBDIR}
+ oe_libinstall -C libhal-storage -a -so libhal-storage ${STAGING_LIBDIR}
+
+ install -d ${STAGING_INCDIR}/hal
+ install -m 0644 libhal/libhal.h ${STAGING_INCDIR}/hal
+ install -m 0644 libhal-storage/libhal-storage.h ${STAGING_INCDIR}/hal
}
# At the time the postinst runs, dbus might not be setup so only restart if running