milis/talimatname/genel/sane/talimat

38 lines
1.1 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Description: SANE, "Tarayıcı Erişimi Şimdi Kolay" anlamına gelir ve herhangi bir raster görüntü tarayıcı donanımına standartlaştırılmış erişim sağlayan bir uygulama programlama arabirimi (API).
# URL: http://www.sane-project.org/
# Packager: alihan-ozturk28@hotmail.com
# Depends on: libusb-compat libjpeg-turbo libtiff gtk2 libexif cups
name=sane
version=1.0.25
release=1
source=(http://fossies.org/linux/misc//sane-backends-$version.tar.gz)
build() {
cd $name-backends-$version
./configure --prefix=/usr \
--localstatedir=/var \
--sysconfdir=/etc \
--with-docdir=/usr/share/doc/sane-backend-$version \
--enable-libusb_1_0 \
--enable-pthread \
--disable-rpath \
--disable-locking \
--with-group=scanner
make
make DESTDIR=$PKG install
install -d $PKG/etc/udev/rules.d
install -m 644 -v tools/udev/libsane.rules \
$PKG/etc/udev/rules.d/65-scanner.rules
install -v -m644 doc/sane.png doc/sane-logo.png \
$PKG/usr/share/sane
mkdir -p $PKG/var/lock/sane
chmod 775 $PKG/var/lock/sane
chgrp scanner $PKG/var/lock/sane
}