void-packages/srcpkgs/hplip/template

33 lines
1.2 KiB
Plaintext

# Template file for 'hplip'
pkgname=hplip
version=3.12.4
revision=1
build_style=gnu-configure
configure_args="--disable-gui-build --disable-hal"
homepage="http://hplipopensource.com/"
license="GPL-2"
distfiles="$SOURCEFORGE_SITE/$pkgname/$pkgname-$version.tar.gz"
makedepends="pkg-config automake libtool python-devel libxml2-python cups-devel sane-devel ghostscript-devel net-snmp-devel libusb-compat-devel jpeg-devel dbus-devel polkit-devel"
fulldepends="python foomatic-db foomatic-db-engine desktop-file-utils"
short_desc="HP Linux Imaging and Printing"
maintainer="davehome <davehome@redthumb.info.tm>"
checksum=350375c78d79adf635a59a448b27b3fe9ab7ac622637c47125fe5f7d8a537fff
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."
conf_files="/etc/hp/hplip.conf"
#XXX: pyqt pkgs for python gui
post_install() {
rm -rf $DESTDIR/usr/share/hal
rm -f $DESTDIR/etc/sane.d/dll.conf
vmkdir lib
mv $DESTDIR/etc/udev $DESTDIR/lib
}