2006-02-23 15:26:10 +00:00
|
|
|
# Description: Scanner Access Now Easy - Scanner driver for Linux
|
|
|
|
# URL: http://www.sane-project.org/
|
2011-02-02 13:44:37 +01:00
|
|
|
# Maintainer: Juergen Daubert, jue at crux dot nu
|
2010-04-26 19:03:49 +02:00
|
|
|
# Depends on: libusb-compat libtiff
|
2006-02-23 15:26:10 +00:00
|
|
|
|
|
|
|
name=sane
|
2012-08-29 13:50:45 +02:00
|
|
|
version=1.0.23
|
2010-04-26 19:03:49 +02:00
|
|
|
release=1
|
2013-06-21 17:09:28 +02:00
|
|
|
source=(ftp://ftp2.sane-project.org/pub/sane/$name-backends-$version.tar.gz.1 \
|
|
|
|
ftp://ftp2.sane-project.org/pub/sane/$name-backends-$version.tar.gz.2 \
|
|
|
|
ftp://ftp2.sane-project.org/pub/sane/$name-backends-$version.tar.gz.3)
|
2006-02-23 15:26:10 +00:00
|
|
|
|
|
|
|
build () {
|
2012-08-29 13:50:45 +02:00
|
|
|
|
|
|
|
cat $name-backends-$version.tar.gz.* > $name-backends-$version.tar.gz
|
|
|
|
tar xf $name-backends-$version.tar.gz
|
|
|
|
|
2006-02-23 15:26:10 +00:00
|
|
|
cd $name-backends-$version
|
|
|
|
|
|
|
|
./configure --prefix=/usr \
|
2006-07-26 07:11:03 +00:00
|
|
|
--mandir=/usr/man \
|
2006-02-23 15:26:10 +00:00
|
|
|
--localstatedir=/var \
|
2010-04-26 19:03:49 +02:00
|
|
|
--sysconfdir=/etc \
|
2006-02-23 15:26:10 +00:00
|
|
|
--disable-translations \
|
2012-08-29 13:50:45 +02:00
|
|
|
--disable-locking \
|
2006-03-03 10:42:37 +00:00
|
|
|
--with-group=scanner
|
2012-08-29 13:50:45 +02:00
|
|
|
|
2006-02-23 15:26:10 +00:00
|
|
|
make
|
2008-01-18 13:21:04 +01:00
|
|
|
make -j1 DESTDIR=$PKG install
|
2006-02-23 15:26:10 +00:00
|
|
|
|
2009-12-17 12:27:25 +01:00
|
|
|
install -D -m 644 tools/udev/libsane.rules $PKG/etc/udev/rules.d/85-libsane.rules
|
2006-02-23 15:26:10 +00:00
|
|
|
|
|
|
|
rm -r $PKG/usr/{doc,share}
|
|
|
|
}
|