2006-02-23 15:26:10 +00:00
|
|
|
# Description: Scanner Access Now Easy - Scanner driver for Linux
|
2021-02-15 15:32:56 +01:00
|
|
|
# URL: http://www.sane-project.org/
|
|
|
|
# Maintainer: Juergen Daubert, jue at crux dot nu
|
2024-02-27 16:22:30 +01:00
|
|
|
# Depends on: autoconf-archive libusb libtiff libpng xz
|
2006-02-23 15:26:10 +00:00
|
|
|
|
|
|
|
name=sane
|
2024-02-27 16:22:30 +01:00
|
|
|
version=1.3.0
|
2021-02-15 15:32:56 +01:00
|
|
|
release=1
|
2024-02-27 16:22:30 +01:00
|
|
|
#source=(https://gitlab.com/sane-project/backends/uploads/110fc43336d0fb5e514f1fdc7360dd87/sane-backends-$version.tar.gz)
|
|
|
|
source=(https://gitlab.com/sane-project/backends/-/archive/$version/backends-$version.tar.bz2)
|
|
|
|
renames=($name-backends-$version.tar.bz2)
|
2006-02-23 15:26:10 +00:00
|
|
|
|
2023-02-06 18:09:45 +01:00
|
|
|
build() {
|
2024-02-27 16:22:30 +01:00
|
|
|
cd backends-$version
|
2006-02-23 15:26:10 +00:00
|
|
|
|
2024-02-27 16:22:30 +01:00
|
|
|
./autogen.sh
|
2021-02-15 15:32:56 +01:00
|
|
|
./configure \
|
|
|
|
--prefix=/usr \
|
|
|
|
--localstatedir=/var \
|
|
|
|
--sysconfdir=/etc \
|
|
|
|
--disable-translations \
|
|
|
|
--disable-locking \
|
|
|
|
--disable-latex \
|
|
|
|
--with-group=scanner \
|
|
|
|
--with-usb
|
2006-02-23 15:26:10 +00:00
|
|
|
|
2021-02-15 15:32:56 +01:00
|
|
|
make
|
|
|
|
make -j1 DESTDIR=$PKG install
|
2006-02-23 15:26:10 +00:00
|
|
|
|
2021-02-15 15:32:56 +01:00
|
|
|
install -D -m 644 tools/udev/libsane.rules $PKG/etc/udev/rules.d/85-libsane.rules
|
|
|
|
|
|
|
|
rm -r $PKG/usr/share/{doc,locale,sane}
|
2006-02-23 15:26:10 +00:00
|
|
|
}
|