# Description: HAL Device Manager
# URL: http://freedesktop.org/Software/hal
# Maintainer: Matt Housh, jaeger at morpheus dot net
# Depends on: hal, gnome-python, pkg-config

name=hal-device-manager
version=0.5.9
release=1
source=(http://freedesktop.org/~david/dist/hal-$version.tar.gz)

build() {
	cd hal-$version
	rm po/*.po
	sed -i -e 's/USE_NLS=yes/USE_NLS=no/' \
		-e 's/ENABLE_NLS 1/ENABLE_NLS 0/' configure
	./configure --prefix=/usr \
		--localstatedir=/var \
		--with-hal-user=haldaemon \
		--with-hal-group=haldaemon \
		--with-dbus-sys=/usr/etc/dbus-1/system.d \
		--with-hotplug=/etc/hotplug.d
	cd tools/device-manager
	make DESTDIR=$PKG install
}
