diff options
-rw-r--r-- | meta/packages/hal/hal.inc | 11 | ||||
-rw-r--r-- | meta/packages/hal/hal_0.5.11+0.5.12rc1.bb | 2 | ||||
-rw-r--r-- | meta/packages/hal/hal_git.bb | 9 |
3 files changed, 3 insertions, 19 deletions
diff --git a/meta/packages/hal/hal.inc b/meta/packages/hal/hal.inc index d0c74e84af..8c5389fe8f 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" | |||
7 | 7 | ||
8 | S = "${WORKDIR}/hal-${PV}" | 8 | S = "${WORKDIR}/hal-${PV}" |
9 | 9 | ||
10 | inherit autotools pkgconfig | 10 | inherit autotools_stage pkgconfig |
11 | 11 | ||
12 | DEPENDS = "virtual/kernel dbus-glib udev intltool intltool-native expat libusb gperf-native" | 12 | DEPENDS = "virtual/kernel dbus-glib udev intltool intltool-native expat libusb gperf-native" |
13 | RDEPENDS += "udev hal-info" | 13 | RDEPENDS += "udev hal-info" |
@@ -43,15 +43,6 @@ do_install_append() { | |||
43 | install -m 0755 ${WORKDIR}/20hal ${D}/etc/dbus-1/event.d | 43 | install -m 0755 ${WORKDIR}/20hal ${D}/etc/dbus-1/event.d |
44 | } | 44 | } |
45 | 45 | ||
46 | do_stage() { | ||
47 | oe_libinstall -C libhal -a -so libhal ${STAGING_LIBDIR} | ||
48 | oe_libinstall -C libhal-storage -a -so libhal-storage ${STAGING_LIBDIR} | ||
49 | |||
50 | install -d ${STAGING_INCDIR}/hal | ||
51 | install -m 0644 libhal/libhal.h ${STAGING_INCDIR}/hal | ||
52 | install -m 0644 libhal-storage/libhal-storage.h ${STAGING_INCDIR}/hal | ||
53 | } | ||
54 | |||
55 | # At the time the postinst runs, dbus might not be setup so only restart if running | 46 | # At the time the postinst runs, dbus might not be setup so only restart if running |
56 | pkg_postinst_hal () { | 47 | pkg_postinst_hal () { |
57 | # can't do this offline | 48 | # 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 1d4ca592ae..f9b4f2cb7d 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 @@ | |||
1 | require hal.inc | 1 | require hal.inc |
2 | 2 | ||
3 | PR = "r1" | 3 | PR = "r2" |
4 | 4 | ||
5 | SRC_URI = "http://hal.freedesktop.org/releases/hal-0.5.12rc1.tar.gz \ | 5 | SRC_URI = "http://hal.freedesktop.org/releases/hal-0.5.12rc1.tar.gz \ |
6 | file://99_hal \ | 6 | file://99_hal \ |
diff --git a/meta/packages/hal/hal_git.bb b/meta/packages/hal/hal_git.bb index 44be44f980..1238094914 100644 --- a/meta/packages/hal/hal_git.bb +++ b/meta/packages/hal/hal_git.bb | |||
@@ -16,7 +16,7 @@ PR = "r4" | |||
16 | 16 | ||
17 | S = "${WORKDIR}/git" | 17 | S = "${WORKDIR}/git" |
18 | 18 | ||
19 | inherit autotools pkgconfig | 19 | inherit autotools_stage pkgconfig |
20 | 20 | ||
21 | EXTRA_OECONF = "--with-hwdata=${datadir}/hwdata \ | 21 | EXTRA_OECONF = "--with-hwdata=${datadir}/hwdata \ |
22 | --with-expat=${STAGING_DIR_HOST}${layout_prefix} \ | 22 | --with-expat=${STAGING_DIR_HOST}${layout_prefix} \ |
@@ -37,13 +37,6 @@ do_install_append() { | |||
37 | install -m 0755 ${WORKDIR}/20hal ${D}/etc/dbus-1/event.d | 37 | install -m 0755 ${WORKDIR}/20hal ${D}/etc/dbus-1/event.d |
38 | } | 38 | } |
39 | 39 | ||
40 | do_stage() { | ||
41 | autotools_stage_all | ||
42 | install -d ${STAGING_LIBDIR} | ||
43 | install -m 755 libhal/.libs/libhal.so.1.0.0 ${STAGING_LIBDIR}/libhal.so | ||
44 | install -m 755 libhal-storage/.libs/libhal-storage.so.1.0.0 ${STAGING_LIBDIR}/libhal-storage.so | ||
45 | } | ||
46 | |||
47 | # At the time the postinst runs, dbus might not be setup so only restart if running | 40 | # At the time the postinst runs, dbus might not be setup so only restart if running |
48 | pkg_postinst_hal () { | 41 | pkg_postinst_hal () { |
49 | # can't do this offline | 42 | # can't do this offline |