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
|
2013-10-04 10:44:09 +02:00
|
|
|
# Depends on: libusb libtiff
|
2006-02-23 15:26:10 +00:00
|
|
|
|
|
|
|
name=sane
|
2015-10-12 18:38:51 +02:00
|
|
|
version=1.0.25
|
2015-12-19 12:46:33 +01:00
|
|
|
release=3
|
2015-10-12 18:38:51 +02:00
|
|
|
source=(https://alioth.debian.org/frs/download.php/file/4146/$name-backends-$version.tar.gz)
|
2006-02-23 15:26:10 +00:00
|
|
|
|
|
|
|
build () {
|
|
|
|
cd $name-backends-$version
|
|
|
|
|
|
|
|
./configure --prefix=/usr \
|
|
|
|
--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 \
|
2015-12-19 12:46:33 +01:00
|
|
|
--disable-latex \
|
2013-10-04 10:44:09 +02:00
|
|
|
--with-group=scanner \
|
|
|
|
--enable-libusb_1_0
|
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
|
|
|
|
2015-12-13 22:05:31 +01:00
|
|
|
rm -r $PKG/usr/{doc,share/sane}
|
2006-02-23 15:26:10 +00:00
|
|
|
}
|