mirror of
https://git.yoctoproject.org/poky
synced 2026-05-09 17:39:31 +00:00
hal: Use autotools_stage_all
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
This commit is contained in:
@@ -7,7 +7,7 @@ SRC_URI = "http://hal.freedesktop.org/releases/hal-${PV}.tar.gz"
|
|||||||
|
|
||||||
S = "${WORKDIR}/hal-${PV}"
|
S = "${WORKDIR}/hal-${PV}"
|
||||||
|
|
||||||
inherit autotools pkgconfig
|
inherit autotools_stage pkgconfig
|
||||||
|
|
||||||
DEPENDS = "virtual/kernel dbus-glib udev intltool intltool-native expat libusb gperf-native"
|
DEPENDS = "virtual/kernel dbus-glib udev intltool intltool-native expat libusb gperf-native"
|
||||||
RDEPENDS += "udev hal-info"
|
RDEPENDS += "udev hal-info"
|
||||||
@@ -43,15 +43,6 @@ do_install_append() {
|
|||||||
install -m 0755 ${WORKDIR}/20hal ${D}/etc/dbus-1/event.d
|
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
|
# At the time the postinst runs, dbus might not be setup so only restart if running
|
||||||
pkg_postinst_hal () {
|
pkg_postinst_hal () {
|
||||||
# can't do this offline
|
# can't do this offline
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
require hal.inc
|
require hal.inc
|
||||||
|
|
||||||
PR = "r1"
|
PR = "r2"
|
||||||
|
|
||||||
SRC_URI = "http://hal.freedesktop.org/releases/hal-0.5.12rc1.tar.gz \
|
SRC_URI = "http://hal.freedesktop.org/releases/hal-0.5.12rc1.tar.gz \
|
||||||
file://99_hal \
|
file://99_hal \
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ PR = "r4"
|
|||||||
|
|
||||||
S = "${WORKDIR}/git"
|
S = "${WORKDIR}/git"
|
||||||
|
|
||||||
inherit autotools pkgconfig
|
inherit autotools_stage pkgconfig
|
||||||
|
|
||||||
EXTRA_OECONF = "--with-hwdata=${datadir}/hwdata \
|
EXTRA_OECONF = "--with-hwdata=${datadir}/hwdata \
|
||||||
--with-expat=${STAGING_DIR_HOST}${layout_prefix} \
|
--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
|
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
|
# At the time the postinst runs, dbus might not be setup so only restart if running
|
||||||
pkg_postinst_hal () {
|
pkg_postinst_hal () {
|
||||||
# can't do this offline
|
# can't do this offline
|
||||||
|
|||||||
Reference in New Issue
Block a user