# SliTaz package receipt.

PACKAGE="hal-info"
VERSION="20091130"
CATEGORY="x-window"
SHORT_DESC="hal sub-package that provides the hardware data and quirks. "
MAINTAINER="domcox@slitaz.org"
DEPENDS="hal hal-extra"
BUILD_DEPENDS="hal-dev pkg-config"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WEB_SITE="http://www.freedesktop.org/wiki/Software/hal"
WGET_URL="http://hal.freedesktop.org/releases/$TARBALL"

# Rules to configure and make the package.
compile_rules()
{
	cd $src
	./configure \
		--prefix=/usr \
		--libexecdir=/usr/lib/hal \
		--sysconfdir=/etc \
		--localstatedir=/var \
		--infodir=/usr/share/info \
		--mandir=/usr/share/man \
		--disable-recall \
		$CONFIGURE_ARGS &&
	make && 
	make DESTDIR=$PWD/_pkg install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
	cp -a $_pkg/usr $fs/
}