milis/talimatname/genel/s/sane/talimat

39 lines
1.1 KiB
Plaintext
Raw Permalink 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.

# Tanım: 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/
# Paketçi: alihan-ozturk28@hotmail.com
# Gerekler: libusb-compat libjpeg-turbo libtiff gtk2 libexif cups
# Grup: ofis
isim=sane
surum=1.0.25
devir=1
kaynak=(http://fossies.org/linux/misc//sane-backends-$surum.tar.gz)
derle() {
cd $isim-backends-$surum
./configure --prefix=/usr \
--localstatedir=/var \
--sysconfdir=/etc \
--with-docdir=/usr/share/doc/sane-backend-$surum \
--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
}