30 lines
831 B
Plaintext
30 lines
831 B
Plaintext
# Description: Scanner Access Now Easy - Scanner driver for Linux
|
|
# URL: http://www.sane-project.org/
|
|
# Maintainer: Juergen Daubert, jue at crux dot nu
|
|
# Depends on: libusb libtiff
|
|
|
|
name=sane
|
|
version=1.0.24
|
|
release=1
|
|
source=(http://ftp.uni-erlangen.de/pub/mirrors/gentoo/distfiles/$name-backends-$version.tar.gz)
|
|
|
|
build () {
|
|
cd $name-backends-$version
|
|
|
|
./configure --prefix=/usr \
|
|
--mandir=/usr/man \
|
|
--localstatedir=/var \
|
|
--sysconfdir=/etc \
|
|
--disable-translations \
|
|
--disable-locking \
|
|
--with-group=scanner \
|
|
--enable-libusb_1_0
|
|
|
|
make
|
|
make -j1 DESTDIR=$PKG install
|
|
|
|
install -D -m 644 tools/udev/libsane.rules $PKG/etc/udev/rules.d/85-libsane.rules
|
|
|
|
rm -r $PKG/usr/{doc,share}
|
|
}
|