opt/hpijs/Pkgfile

31 lines
922 B
Plaintext
Raw Normal View History

2006-02-23 16:26:10 +01:00
# Description: Ghostscript add-on for HP inkjet/laserjet printers
# URL: http://hpinkjet.sourceforge.net/
2008-07-11 09:29:19 +02:00
# Maintainer: Juergen Daubert, juergen dot daubert at t-online dot de
2009-03-27 11:24:20 +01:00
# Depends on: foomatic-filters
2006-02-23 16:26:10 +01:00
name=hpijs
2009-08-05 11:54:23 +02:00
version=3.9.8
2006-02-23 16:26:10 +01:00
release=1
2007-09-02 11:04:21 +02:00
source=(http://dl.sourceforge.net/sourceforge/hplip/hplip-$version.tar.gz)
2006-02-23 16:26:10 +01:00
build () {
2007-09-02 11:04:21 +02:00
cd hplip-$version
2008-03-14 11:14:41 +01:00
2007-09-02 11:04:21 +02:00
./configure --prefix=/usr \
--with-hpppddir=/usr/share/cups/model/HP \
--enable-hpijs-only-build \
2009-08-05 11:54:23 +02:00
--enable-hpijs-install \
--disable-hpcups-install \
--disable-cups-drv-install \
--enable-foomatic-drv-install \
2007-09-02 11:04:21 +02:00
--enable-foomatic-ppd-install
2009-08-05 11:54:23 +02:00
2008-09-19 10:07:00 +02:00
make
2006-02-23 16:26:10 +01:00
make DESTDIR=$PKG install
2007-09-02 11:04:21 +02:00
2009-03-27 11:24:20 +01:00
install -d $PKG/usr/lib/cups/filter
ln -s /usr/bin/foomatic-rip $PKG/usr/lib/cups/filter/foomatic-rip-hplip
2008-07-08 09:08:08 +02:00
rm -r $PKG/usr/share/{hplip,doc}
2006-02-23 16:26:10 +01:00
}