summaryrefslogtreecommitdiffstats
path: root/extra/sane/Pkgfile
diff options
context:
space:
mode:
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