summaryrefslogtreecommitdiff
path: root/sane/Pkgfile
blob: 77df0f18d3eb231e7f2f0fc7a1329d481ac2d650 (plain)
    1 # Description: Scanner Access Now Easy - Scanner driver for Linux
    2 # URL:         http://www.sane-project.org/
    3 # Maintainer:  Juergen Daubert, jue at crux dot nu
    4 # Depends on:  libusb libtiff
    5 
    6 name=sane
    7 version=1.0.25
    8 release=3
    9 source=(https://alioth.debian.org/frs/download.php/file/4146/$name-backends-$version.tar.gz)
   10 
   11 build () {
   12     cd $name-backends-$version
   13 
   14     ./configure --prefix=/usr \
   15                 --localstatedir=/var \
   16                 --sysconfdir=/etc \
   17                 --disable-translations \
   18                 --disable-locking \
   19                 --disable-latex \
   20                 --with-group=scanner \
   21                 --enable-libusb_1_0
   22     
   23     make
   24     make -j1 DESTDIR=$PKG install
   25 
   26     install -D -m 644 tools/udev/libsane.rules $PKG/etc/udev/rules.d/85-libsane.rules
   27 
   28     rm -r $PKG/usr/{doc,share/sane}
   29 }

Generated by cgit