summaryrefslogtreecommitdiff
path: root/sane/Pkgfile
diff options
context:
space:
mode:
authorJuergen Daubert <jue@jue.li>2012-08-29 13:50:45 +0200
committerJuergen Daubert <jue@jue.li>2012-08-29 13:50:45 +0200
commit69291a18b7c2694af619c45d1b80a78b0467bc81 (patch)
tree6d176d43f9456d5245e63cf8dc270d3e6267e096 /sane/Pkgfile
parentf2856924cced796cd283ec2cf336c4876f027017 (diff)
downloadopt-69291a18b7c2694af619c45d1b80a78b0467bc81.tar.gz
opt-69291a18b7c2694af619c45d1b80a78b0467bc81.tar.xz
sane: update to 1.0.23
Diffstat (limited to 'sane/Pkgfile')
-rw-r--r--sane/Pkgfile17
1 files changed, 10 insertions, 7 deletions
diff --git a/sane/Pkgfile b/sane/Pkgfile
index 884f02ed1..861903bf5 100644
--- a/sane/Pkgfile
+++ b/sane/Pkgfile
@@ -4,11 +4,17 @@
# Depends on: libusb-compat libtiff
name=sane
-version=1.0.22
+version=1.0.23
release=1
-source=(ftp://ftp2.sane-project.org/pub/$name/$name-backends-$version/$name-backends-$version.tar.gz)
+source=(https://alioth.debian.org/frs/download.php/3752/$name-backends-$version.tar.gz.1 \
+ https://alioth.debian.org/frs/download.php/3753/$name-backends-$version.tar.gz.2 \
+ https://alioth.debian.org/frs/download.php/3754/$name-backends-$version.tar.gz.3)
build () {
+
+ cat $name-backends-$version.tar.gz.* > $name-backends-$version.tar.gz
+ tar xf $name-backends-$version.tar.gz
+
cd $name-backends-$version
./configure --prefix=/usr \
@@ -16,16 +22,13 @@ build () {
--localstatedir=/var \
--sysconfdir=/etc \
--disable-translations \
- --enable-locking \
+ --disable-locking \
--with-group=scanner
+
make
make -j1 DESTDIR=$PKG install
install -D -m 644 tools/udev/libsane.rules $PKG/etc/udev/rules.d/85-libsane.rules
- chown root:root $PKG/{var,var/lock}
- chmod 0755 $PKG/var
- chmod 1777 $PKG/var/lock
-
rm -r $PKG/usr/{doc,share}
}

Generated by cgit