31 lines
922 B
Plaintext
31 lines
922 B
Plaintext
# Description: Ghostscript add-on for HP inkjet/laserjet printers
|
|
# URL: http://hpinkjet.sourceforge.net/
|
|
# Maintainer: Juergen Daubert, juergen dot daubert at t-online dot de
|
|
# Depends on: foomatic-filters
|
|
|
|
name=hpijs
|
|
version=3.9.8
|
|
release=1
|
|
source=(http://dl.sourceforge.net/sourceforge/hplip/hplip-$version.tar.gz)
|
|
|
|
build () {
|
|
cd hplip-$version
|
|
|
|
./configure --prefix=/usr \
|
|
--with-hpppddir=/usr/share/cups/model/HP \
|
|
--enable-hpijs-only-build \
|
|
--enable-hpijs-install \
|
|
--disable-hpcups-install \
|
|
--disable-cups-drv-install \
|
|
--enable-foomatic-drv-install \
|
|
--enable-foomatic-ppd-install
|
|
|
|
make
|
|
make DESTDIR=$PKG install
|
|
|
|
install -d $PKG/usr/lib/cups/filter
|
|
ln -s /usr/bin/foomatic-rip $PKG/usr/lib/cups/filter/foomatic-rip-hplip
|
|
|
|
rm -r $PKG/usr/share/{hplip,doc}
|
|
}
|