# Template file for 'hplip'
pkgname=hplip
version=3.12.6
revision=2
build_style=gnu-configure
configure_args="--disable-gui-build"
#XXX: pyqt pkgs for python gui
makedepends="pkg-config automake libtool python-devel libxml2-python cups-devel
sane-devel ghostscript-devel net-snmp-devel libusb-devel jpeg-devel
dbus-devel polkit-devel"
fulldepends="python foomatic-db foomatic-db-engine desktop-file-utils"
conf_files="/etc/hp/hplip.conf"
short_desc="HP Linux Imaging and Printing"
maintainer="davehome <davehome@redthumb.info.tm>"
homepage="http://hplipopensource.com/"
license="GPL-2"
distfiles="$SOURCEFORGE_SITE/$pkgname/$pkgname-$version.tar.gz"
checksum=54578000792969adb583e75efeacb9c46ab69659ec7e9424de390613f3595775
long_desc="
 HPLIP (Hewlett-Packard Linux Imaging and Printing) is an HP-developed solution
 for printing, scanning, and faxing with HP inkjet and laser based printers in
 Linux. The HPLIP project provides printing support for 2,080 printer models,
 including Deskjet, Officejet, Photosmart, PSC (Print Scan Copy), Business
 Inkjet, LaserJet, Edgeline MFP, and LaserJet MFP."

post_install() {
	rm -rf $DESTDIR/usr/share/hal
	rm -f $DESTDIR/etc/sane.d/dll.conf
}
