summaryrefslogtreecommitdiffstats
path: root/extra/sane/Pkgfile
diff options
context:
space:
mode:
authorSibelle <lesibel@free.fr>2011-06-16 09:44:55 +0200
committerSibelle <lesibel@free.fr>2011-06-16 09:44:55 +0200
commit6838e6a1f9dcd1167fd853954fc69efc9710b205 (patch)
tree01c080da2b3ef956f31d5c60a3f2b94ab4f7ee80 /extra/sane/Pkgfile
parentbf25ce343de013ba64f0f5cb2f7f9f3ac4a68a4b (diff)
downloadnutyx-pakxe-6838e6a1f9dcd1167fd853954fc69efc9710b205.tar.gz
nutyx-pakxe-6838e6a1f9dcd1167fd853954fc69efc9710b205.tar.bz2
nutyx-pakxe-6838e6a1f9dcd1167fd853954fc69efc9710b205.tar.xz
nutyx-pakxe-6838e6a1f9dcd1167fd853954fc69efc9710b205.zip
sane 1.0.22-3 correction
Diffstat (limited to 'extra/sane/Pkgfile')
-rwxr-xr-xextra/sane/Pkgfile10
1 files changed, 6 insertions, 4 deletions
diff --git a/extra/sane/Pkgfile b/extra/sane/Pkgfile
index 4650e928d..bd57cbfcd 100755
--- a/extra/sane/Pkgfile
+++ b/extra/sane/Pkgfile
@@ -7,7 +7,7 @@
name=sane
version=1.0.22
-release=2
+release=3
source=( ftp://ftp2.sane-project.org/pub/sane/$name-backends-$version/$name-backends-$version.tar.gz
sane-libv4l-0.8.3.patch)
@@ -21,14 +21,16 @@ build() {
--sysconfdir=/etc \
--enable-avahi \
--mandir=/usr/share/man \
- --infodir=/usr/share/info
+ --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
+ $PKG/etc/udev/rules.d/65-scanner.rules
install -v -m644 doc/sane.png doc/sane-logo.png \
- $PKG/usr/share/sane
+ $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