void-packages/srcpkgs/hplip/template

47 lines
1.5 KiB
Text

# 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"
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
Add_dependency build pkg-config
Add_dependency build automake
Add_dependency build libtool
Add_dependency build python-devel
Add_dependency build libxml2-python
Add_dependency build cups-devel
Add_dependency build sane-devel
Add_dependency build ghostscript-devel
Add_dependency build net-snmp-devel
Add_dependency build libusb-compat-devel
Add_dependency build jpeg-devel
Add_dependency build dbus-devel
Add_dependency build polkit-devel
Add_dependency full python
Add_dependency full foomatic-db
Add_dependency full foomatic-db-engine
Add_dependency full desktop-file-utils
post_install() {
rm -rf $DESTDIR/usr/share/hal
rm -f $DESTDIR/etc/sane.d/dll.conf
vmkdir lib
mv $DESTDIR/etc/udev $DESTDIR/lib
}