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
|
2011-02-15 17:55:58 +01:00
|
|
|
version=1.0.22
|
2010-04-26 19:03:49 +02:00
|
|
|
release=1
|
2011-12-28 15:52:53 +01:00
|
|
|
source=(ftp://ftp2.sane-project.org/pub/$name/$name-backends-$version/$name-backends-$version.tar.gz)
|
2006-02-23 15:26:10 +00:00
|
|
|
|
|
|
|
build () {
|
|
|
|
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 \
|
2006-03-03 10:42:37 +00:00
|
|
|
--enable-locking \
|
|
|
|
--with-group=scanner
|
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
|
|
|
|
2006-07-26 07:11:03 +00:00
|
|
|
chown root:root $PKG/{var,var/lock}
|
2006-10-31 17:58:26 +01:00
|
|
|
chmod 0755 $PKG/var
|
|
|
|
chmod 1777 $PKG/var/lock
|
2008-01-18 13:21:04 +01:00
|
|
|
|
2006-02-23 15:26:10 +00:00
|
|
|
rm -r $PKG/usr/{doc,share}
|
|
|
|
}
|