summaryrefslogtreecommitdiffstats
path: root/extra/sane/Pkgfile
diff options
context:
space:
mode:
authortnut <tnut at nutyx dot com>2012-01-08 12:15:45 +0100
committertnut <tnut at nutyx dot com>2012-01-08 12:15:45 +0100
commit3f57a7f93b3e7550cbd73036f6a56654e17d1d5c (patch)
tree819b14ab0377fe2054fe59866669d904e9e0b4b5 /extra/sane/Pkgfile
parentc9972ec7f32bf9d37388e853fe9bf633e242d05a (diff)
downloadnutyx-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 'extra/sane/Pkgfile')
-rwxr-xr-xextra/sane/Pkgfile37
1 files changed, 0 insertions, 37 deletions
diff --git a/extra/sane/Pkgfile b/extra/sane/Pkgfile
deleted file mode 100755
index 64b7fc37e..000000000
--- a/extra/sane/Pkgfile
+++ /dev/null
@@ -1,37 +0,0 @@
-# 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-compat, v4l-utils, libjpeg, libtiff, libgphoto2, libieee1284, gtk, libexif
-# Run on: libusb-compat,v4l-utils,libjpeg,libtiff,libgphoto2,libieee1284,gtk,libexif
-
-name=sane
-version=1.0.22
-release=4
-source=( ftp://ftp2.sane-project.org/pub/sane/$name-backends-$version/$name-backends-$version.tar.gz
- sane-libv4l-0.8.3.patch)
-
-build() {
- cd $name-backends-$version
-
- patch -p1 -i ../sane-libv4l-0.8.3.patch
-
- ./configure --prefix=/usr \
- --localstatedir=/var \
- --sysconfdir=/etc \
- --mandir=/usr/share/man \
- --infodir=/usr/share/info \
- --disable-locking
- 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
- mkdir -p $PKG/var/lock/sane
- chmod 775 $PKG/var/lock/sane
- chgrp scanner $PKG/var/lock/sane
- rm -r $PKG/usr/doc
-}
-