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

# [slackware / suse fix] uncomment the following line to fix defines that are not included in your distribution.
#PATCHFILES += hal-kernel-includes.diff

MASTER_SITES = http://freedesktop.org/~david/dist/

LIBDEPS = bootstrap/libvolume_id freedesktop/dbus-glib 

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
#
# disable PolicyKit [for now]
CONFIGURE_ARGS += --enable-policy-kit=no

include ../category.mk

test:
	@echo $(CONFIGURE_ARGS)
