diff options
author | Thierry N <thierryn1 at hispeed dot ch> | 2009-08-12 20:44:20 +0200 |
---|---|---|
committer | Thierry N <thierryn1 at hispeed dot ch> | 2009-08-12 20:44:20 +0200 |
commit | df8a933b2642e9d7f5f0050aa4099985619e1ca5 (patch) | |
tree | a7a5db1a0cff60c1e9efdc5ceabf40ac5021fadd /extra/sane/Pkgfile | |
parent | 8268bac59d102754a67bfe74b4c7699e688fe8d3 (diff) | |
download | nutyx-extra-df8a933b2642e9d7f5f0050aa4099985619e1ca5.tar.gz nutyx-extra-df8a933b2642e9d7f5f0050aa4099985619e1ca5.tar.bz2 nutyx-extra-df8a933b2642e9d7f5f0050aa4099985619e1ca5.tar.xz nutyx-extra-df8a933b2642e9d7f5f0050aa4099985619e1ca5.zip |
Ajout de sane#1.0.20-2
Diffstat (limited to 'extra/sane/Pkgfile')
-rwxr-xr-x | extra/sane/Pkgfile | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/extra/sane/Pkgfile b/extra/sane/Pkgfile new file mode 100755 index 000000000..0304d3c52 --- /dev/null +++ b/extra/sane/Pkgfile @@ -0,0 +1,30 @@ +# Description: Programmes de base pour scanners +# URL: http://www.sane-project.org/ +# Maintainer: NuTyX core team +# Packager: thierryn1 at hispeed dot ch +# Depends on: libusb, libjpeg, libtiff, libgphoto2, libieee1284 + +name=sane +version=1.0.20 +release=2 +source=( ftp://ftp2.sane-project.org/pub/sane/$name-backends-$version/$name-backends-$version.tar.gz) + + +build() { + cd $name-backends-$version + ./configure --prefix=/usr \ + --localstatedir=/var \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info + make + make DESTDIR=$PKG install + install -d $PKG/etc/udev/rules.d + install -m 644 -v tools/udev/libsane.rules \ + $PKG/etc/udev/rules.d/65-scanner.rules + install -v -m644 doc/sane.png doc/sane-logo.png \ + $PKG/usr/share/sane + chmod 775 $PKG/var/lock/sane + chgrp scanner $PKG/var/lock/sane + rm -r $PKG/usr/doc +} |