31 lines
739 B
Plaintext
31 lines
739 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 libpng xz
|
|
|
|
name=sane
|
|
version=1.2.1
|
|
release=1
|
|
source=(https://gitlab.com/sane-project/backends/uploads/110fc43336d0fb5e514f1fdc7360dd87/sane-backends-$version.tar.gz)
|
|
|
|
build() {
|
|
cd $name-backends-$version
|
|
|
|
./configure \
|
|
--prefix=/usr \
|
|
--localstatedir=/var \
|
|
--sysconfdir=/etc \
|
|
--disable-translations \
|
|
--disable-locking \
|
|
--disable-latex \
|
|
--with-group=scanner \
|
|
--with-usb
|
|
|
|
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/share/{doc,locale,sane}
|
|
}
|