summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2005-10-04 15:36:55 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-10-04 15:36:55 +0000
commitf6ca1987a00f5e7849ee9288cd6a8b9a43c95f53 (patch)
treee66455fe35605a4bf4976307376c3bfceea6aa77
parentdbf12db3c7762ca285b7c7a1998cec61a24847e4 (diff)
udev: add 0.5.4 and package the device-manager seperatly
-rw-r--r--packages/hal/hal_0.5.4.bb31
1 files changed, 31 insertions, 0 deletions
diff --git a/packages/hal/hal_0.5.4.bb b/packages/hal/hal_0.5.4.bb
new file mode 100644
index 0000000000..3db5753996
--- /dev/null
+++ b/packages/hal/hal_0.5.4.bb
@@ -0,0 +1,31 @@
+SECTION = "unknown"
+DESCRIPTION = "Hardware Abstraction Layer"
+MAINTAINER = "Chris Larson <kergoth@handhelds.org>"
+DEPENDS = "dbus expat libusb"
+RDEPENDS += "hotplug"
+RDEPENDS_hal-device-manager = "python hal python-pygnome"
+RRECOMMENDS = "udev-utils"
+HOMEPAGE = "http://freedesktop.org/Software/hal"
+LICENSE = "GPL LGPL AFL"
+
+SRC_URI = "http://freedesktop.org/~david/dist/hal-${PV}.tar.gz"
+S = "${WORKDIR}/hal-${PV}"
+
+inherit autotools pkgconfig
+
+EXTRA_OECONF = "--with-hwdata=${datadir}/hwdata \
+ --with-expat=${STAGING_LIBDIR}/.. \
+ --with-dbus-sys=${sysconfdir}/dbus-1/system.d \
+ --with-hotplug=${sysconfdir}/hotplug.d"
+
+do_stage() {
+ autotools_stage_includes
+ 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
+}
+
+PACKAGES += "hal-device-manager"
+FILES_${PN} = "${sysconfdir} ${bindir}/lshal ${bindir}/hal-get-property ${bindir}/hal-set-property ${sbindir} ${libdir}/libhal.so* ${libdir}/libhal-storage.so* ${libexecdir} ${datadir}/hal/fdi"
+FILES_hal-device-manager = "${datadir}/hal/device-manager/ ${bindir}/hal-device-manager"
+