1
0
mirror of https://git.yoctoproject.org/poky synced 2026-07-16 15:57:04 +00:00

hal: Use autotools_stage_all

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
This commit is contained in:
Richard Purdie
2009-06-12 15:50:01 +01:00
parent d0c00fd14b
commit e7be8af151
3 changed files with 3 additions and 19 deletions
+1 -10
View File
@@ -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