summaryrefslogtreecommitdiff
path: root/sane/Pkgfile
diff options
context:
space:
mode:
authorJuergen Daubert <juergen.daubert@t-online.de>2006-07-26 07:11:03 +0000
committerJuergen Daubert <juergen.daubert@t-online.de>2006-07-26 07:11:03 +0000
commit6d123bcdb621edf30e1878832be9581fb243e6da (patch)
tree14ddb83f1129df42f9e002bda6e592f599f00f42 /sane/Pkgfile
parentd7b3ff237ff1428ab84b24b6c91018e81747868c (diff)
downloadopt-6d123bcdb621edf30e1878832be9581fb243e6da.tar.gz
opt-6d123bcdb621edf30e1878832be9581fb243e6da.tar.xz
sane: update to 1.0.18
Diffstat (limited to 'sane/Pkgfile')
-rw-r--r--sane/Pkgfile15
1 files changed, 8 insertions, 7 deletions
diff --git a/sane/Pkgfile b/sane/Pkgfile
index a57f8154c..38f9608bc 100644
--- a/sane/Pkgfile
+++ b/sane/Pkgfile
@@ -4,25 +4,26 @@
# Depends on: libusb, libjpeg
name=sane
-version=1.0.17
-release=3
+version=1.0.18
+release=1
source=(ftp://ftp2.sane-project.org/pub/$name/$name-backends-$version/$name-backends-$version.tar.gz)
build () {
cd $name-backends-$version
./configure --prefix=/usr \
+ --mandir=/usr/man \
--localstatedir=/var \
--disable-translations \
--enable-locking \
--with-group=scanner
make
- make prefix=$PKG/usr install
+ make DESTDIR=$PKG install
- sh tools/udev/convert-usermap.sh tools/hotplug/libsane.usermap
- install -d $PKG/{etc/udev/rules.d,var/lock}
- install -d -g scanner -m 775 $PKG/var/lock/sane
- install -m 644 libsane.rules $PKG/etc/udev/rules.d
+ install -d $PKG/etc/udev/rules.d
+ install -m 644 tools/udev/libsane.rules $PKG/etc/udev/rules.d
+ chown root:root $PKG/{var,var/lock}
+ chmod 755 $PKG/{var,var/lock}
rm -r $PKG/usr/{doc,share}
}

Generated by cgit