summaryrefslogtreecommitdiffstats
path: root/extra/hplip/Pkgfile
blob: 55250f871337afd657d7006eef7a0305094c660e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Description: Pilotes pour les imprimantes HP Deskjet, OfficeJet, Photosmart et Business inkjet
# URL: http://hplip.sourceforge.net/
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed dot ch
# Depends on: cups, foomatic-db, foomatic-db-engine, ghostscript, libusb, portmap

name=hplip
version=3.9.10
release=1
source=(http://downloads.sourceforge.net/$name/$name-$version.tar.gz)

build() {
cd $name-$version
	./configure --prefix=/usr \
	--sysconfdir=/etc \
	--enable-hpijs-only-build \
	--disable-gui-build \
	--disable-xml-install \
	--disable-doc-build \
	--enable-foomatic-ppd-install \
	--with-hpppddir=/usr/share/cups/model/HP \
	--enable-foomatic-drv-install \
	--with-drvdir=/usr/share/cups/drv/hp \
	--enable-foomatic-rip-hplip-install \
	--mandir=/usr/share/man \
	--infodir=/usr/share/info
	make
	make DESTDIR=$PKG install
	rmdir $PKG/usr/share/hplip
	rm -r $PKG/usr/share/doc
}