summaryrefslogtreecommitdiffstats
path: root/extra/hplip/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'extra/hplip/Pkgfile')
-rwxr-xr-xextra/hplip/Pkgfile31
1 files changed, 31 insertions, 0 deletions
diff --git a/extra/hplip/Pkgfile b/extra/hplip/Pkgfile
new file mode 100755
index 000000000..55250f871
--- /dev/null
+++ b/extra/hplip/Pkgfile
@@ -0,0 +1,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
+}