summaryrefslogtreecommitdiff
path: root/meta/packages
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2009-06-12 15:50:01 +0100
committerRichard Purdie <rpurdie@linux.intel.com>2009-06-12 15:50:01 +0100
commite7be8af15129caa0c79def705ceb2b87bd9caaa3 (patch)
treec2af8236aacf0fc660b230c0c5a1d8f6a7c4f211 /meta/packages
parentd0c00fd14b2ea038e0e49402ce3c0e33c3d05398 (diff)
downloadopenembedded-core-e7be8af15129caa0c79def705ceb2b87bd9caaa3.tar.gz
openembedded-core-e7be8af15129caa0c79def705ceb2b87bd9caaa3.tar.bz2
openembedded-core-e7be8af15129caa0c79def705ceb2b87bd9caaa3.tar.xz
openembedded-core-e7be8af15129caa0c79def705ceb2b87bd9caaa3.zip
hal: Use autotools_stage_all
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/packages')
-rw-r--r--meta/packages/hal/hal.inc11
-rw-r--r--meta/packages/hal/hal_0.5.11+0.5.12rc1.bb2
-rw-r--r--meta/packages/hal/hal_git.bb9
3 files changed, 3 insertions, 19 deletions
diff --git a/meta/packages/hal/hal.inc b/meta/packages/hal/hal.inc
index d0c74e84a..8c5389fe8 100644
--- a/meta/packages/hal/hal.inc
+++ b/meta/packages/hal/hal.inc
@@ -7,7 +7,7 @@ SRC_URI = "http://hal.freedesktop.org/releases/hal-${PV}.tar.gz"
S = "${WORKDIR}/hal-${PV}"
-inherit autotools pkgconfig
+inherit autotools_stage pkgconfig
DEPENDS = "virtual/kernel dbus-glib udev intltool intltool-native expat libusb gperf-native"
RDEPENDS += "udev hal-info"
@@ -43,15 +43,6 @@ do_install_append() {
install -m 0755 ${WORKDIR}/20hal ${D}/etc/dbus-1/event.d
}
-do_stage() {
- 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
pkg_postinst_hal () {
# can't do this offline
diff --git a/meta/packages/hal/hal_0.5.11+0.5.12rc1.bb b/meta/packages/hal/hal_0.5.11+0.5.12rc1.bb
index 1d4ca592a..f9b4f2cb7 100644
--- a/meta/packages/hal/hal_0.5.11+0.5.12rc1.bb
+++ b/meta/packages/hal/hal_0.5.11+0.5.12rc1.bb
@@ -1,6 +1,6 @@
require hal.inc
-PR = "r1"
+PR = "r2"
SRC_URI = "http://hal.freedesktop.org/releases/hal-0.5.12rc1.tar.gz \
file://99_hal \
diff --git a/meta/packages/hal/hal_git.bb b/meta/packages/hal/hal_git.bb
index 44be44f98..123809491 100644
--- a/meta/packages/hal/hal_git.bb
+++ b/meta/packages/hal/hal_git.bb
@@ -16,7 +16,7 @@ PR = "r4"
S = "${WORKDIR}/git"
-inherit autotools pkgconfig
+inherit autotools_stage pkgconfig
EXTRA_OECONF = "--with-hwdata=${datadir}/hwdata \
--with-expat=${STAGING_DIR_HOST}${layout_prefix} \
@@ -37,13 +37,6 @@ do_install_append() {
install -m 0755 ${WORKDIR}/20hal ${D}/etc/dbus-1/event.d
}
-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
-}
-
# At the time the postinst runs, dbus might not be setup so only restart if running
pkg_postinst_hal () {
# can't do this offline