summaryrefslogtreecommitdiff
path: root/hpcups/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'hpcups/Pkgfile')
-rw-r--r--hpcups/Pkgfile24
1 files changed, 24 insertions, 0 deletions
diff --git a/hpcups/Pkgfile b/hpcups/Pkgfile
new file mode 100644
index 000000000..f2a626688
--- /dev/null
+++ b/hpcups/Pkgfile
@@ -0,0 +1,24 @@
+# Description: Ghostscript add-on for HP inkjet/laserjet printers
+# URL: http://hpinkjet.sourceforge.net/
+# Maintainer: Juergen Daubert, jue at crux dot nu
+# Depends on: cups
+
+name=hpcups
+version=3.12.9
+release=1
+source=(http://downloads.sourceforge.net/project/hplip/hplip/$version/hplip-$version.tar.gz)
+
+build () {
+ cd hplip-$version
+
+ ./configure --prefix=/usr \
+ --enable-hpcups-only-build \
+ --enable-hpcups-install \
+ --with-hpppddir=/usr/share/cups/model/HP \
+ --disable-{doc,network}-build
+
+ make
+ make DESTDIR=$PKG install
+
+ rm -r $PKG/usr/share/{hplip,doc} $PKG/usr/bin
+}

Generated by cgit