diff options
author | tnut <tnut at nutyx dot com> | 2012-01-08 12:15:45 +0100 |
---|---|---|
committer | tnut <tnut at nutyx dot com> | 2012-01-08 12:15:45 +0100 |
commit | 3f57a7f93b3e7550cbd73036f6a56654e17d1d5c (patch) | |
tree | 819b14ab0377fe2054fe59866669d904e9e0b4b5 /hplip/Pkgfile | |
parent | c9972ec7f32bf9d37388e853fe9bf633e242d05a (diff) | |
download | nutyx-extra-3f57a7f93b3e7550cbd73036f6a56654e17d1d5c.tar.gz nutyx-extra-3f57a7f93b3e7550cbd73036f6a56654e17d1d5c.tar.bz2 nutyx-extra-3f57a7f93b3e7550cbd73036f6a56654e17d1d5c.tar.xz nutyx-extra-3f57a7f93b3e7550cbd73036f6a56654e17d1d5c.zip |
split de git pakxe et NuTyX-extra
Diffstat (limited to 'hplip/Pkgfile')
-rwxr-xr-x | hplip/Pkgfile | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/hplip/Pkgfile b/hplip/Pkgfile new file mode 100755 index 000000000..ab1d739f4 --- /dev/null +++ b/hplip/Pkgfile @@ -0,0 +1,35 @@ +# Description: Pilotes pour les imprimantes HP Deskjet, OfficeJet, Photosmart et Business inkjet +# URL: http://hplipopensource.com/hplip-web/index.html +# Maintainer: NuTyX core team +# Packager: thierryn1 at hispeed dot ch +# Depends on: cups, libusb-compat, sane +# Run on: cups,foomatic-db,foomatic-db-engine,ghostscript,libusb,dbus-python,sane + +name=hplip +version=3.11.7 +release=1 +source=(http://downloads.sourceforge.net/$name/$name-$version.tar.gz) +build() { + cd $name-$version + + find . -type f -exec sed -i 's~^#.*env python~#!/usr/bin/env python2~' {} + + + PYTHON=python2 ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --disable-fax-build \ + --disable-network-build \ + --disable-doc-build \ + --disable-qt4 \ + --enable-foomatic-ppd-install \ + --enable-foomatic-drv-install \ + --enable-cups-ppd-install \ + --with-hpppddir=/usr/share/cups/model/HP \ + --with-drvdir=/usr/share/cups/dvr/hp + make + make DESTDIR=$PKG install + rm -r $PKG/usr/share/doc + rm -r $PKG/etc/sane.d +} + |