# SliTaz package receipt.

PACKAGE="hal-cups-utils"
VERSION="0.6.19"
CATEGORY="system-tools"
MAINTAINER="jozee@slitaz.org"
SHORT_DESC="Cups backend/utils to browse and configure using HAL UDIs"
WEB_SITE="http://packages.ubuntu.com/jaunty/hal-cups-utils"
TARBALL="${PACKAGE}_${VERSION}+git20090217.orig.tar.gz"
WGET_URL="http://archive.ubuntu.com/ubuntu/pool/main/h/$PACKAGE/$TARBALL"
TAGS=""

DEPENDS="hal dbus dbus-glib cups"
BUILD_DEPENDS="hal-dev dbus-dev dbus-glib-dev cups-dev"

# Rules to configure and make the package.

compile_rules() {
	cd $src
	./configure \
	--libexecdir=/usr/lib/hal/scripts/ &&
	make && make install
}
	
# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
	mkdir -p $fs/usr
	cp -a $_pkg/usr/lib $fs/usr
	cp -a $_pkg/usr/share $fs/usr
}