GARNAME = hal
GARVERSION = 0.5.10
CATEGORIES = freedesktop
DISTFILES = $(GARNAME)-$(GARVERSION).tar.gz

MASTER_SITES = http://hal.freedesktop.org/releases/

LIBDEPS = bootstrap/libvolume_id freedesktop/dbus-glib  freedesktop/PolicyKit

DESCRIPTION = hal
define BLURB
 #FIXME: blurb goes here
endef

CONFIGURE_SCRIPTS = $(WORKSRC)/configure
BUILD_SCRIPTS = $(WORKSRC)/Makefile
INSTALL_SCRIPTS = $(WORKSRC)/Makefile

# work around borked configure file
CONFIGURE_ENV = PKG_CONFIG="$(bindir)/pkg-config"

CONFIGURE_ARGS = $(DIRPATHS)  --with-dbus-sys=$(sysconfdir)/dbus-1/system.d
 
include ../category.mk

post-install:
	@ mkdir -p $(datadir)/applications
	@cp -f files/hal-device-manager.desktop $(datadir)/applications/
	@$(MAKECOOKIE)
