blob: e3204ad53151eaefc0721311ad658afa3a1225bc (
plain)
1 # Description: Ghostscript add-on for HP inkjet/laserjet printers
2 # URL: https://sourceforge.net/projects/hplip/
3 # Maintainer: Juergen Daubert, jue at crux dot nu
4 # Depends on: cups libjpeg-turbo
5
6 name=hpcups
7 version=3.22.10
8 release=1
9 source=(http://downloads.sourceforge.net/project/hplip/hplip/$version/hplip-$version.tar.gz)
10
11 build() {
12 cd hplip-$version
13
14 ./configure \
15 --prefix=/usr \
16 --enable-hpcups-only-build \
17 --enable-hpcups-install \
18 --with-hpppddir=/usr/share/cups/model/HP \
19 --disable-{doc,network}-build
20
21 make
22 make DESTDIR=$PKG install
23
24 # https://bugs.archlinux.org/task/59548
25 install prnt/hpcups/libImageProcessor-x86_64.so $PKG/usr/lib
26 ln -s libImageProcessor-x86_64.so $PKG/usr/lib/libImageProcessor.so
27
28 rm -r $PKG/usr/share/doc
29 }
|