diff options
Diffstat (limited to 'extra/sane/Pkgfile')
-rwxr-xr-x | extra/sane/Pkgfile | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/extra/sane/Pkgfile b/extra/sane/Pkgfile index c2e12b523..4650e928d 100755 --- a/extra/sane/Pkgfile +++ b/extra/sane/Pkgfile @@ -2,20 +2,24 @@ # URL: http://www.sane-project.org/ # Maintainer: NuTyX core team # Packager: thierryn1 at hispeed dot ch -# Depends on: libusb, libjpeg, libtiff, libgphoto2, libieee1284, gtk, libexif -# Run on: libusb,libjpeg,libtiff,libgphoto2,libieee1284,gtk,libexif +# Depends on: libusb-compat, v4l-utils, avahi, libjpeg, libtiff, libgphoto2, libieee1284, gtk, libexif +# Run on: libusb-compat,v4l-utils,avahi,libjpeg,libtiff,libgphoto2,libieee1284,gtk,libexif name=sane version=1.0.22 -release=1 -source=( ftp://ftp2.sane-project.org/pub/sane/$name-backends-$version/$name-backends-$version.tar.gz) - +release=2 +source=( ftp://ftp2.sane-project.org/pub/sane/$name-backends-$version/$name-backends-$version.tar.gz + sane-libv4l-0.8.3.patch) build() { cd $name-backends-$version + + patch -p1 -i ../sane-libv4l-0.8.3.patch + ./configure --prefix=/usr \ --localstatedir=/var \ --sysconfdir=/etc \ + --enable-avahi \ --mandir=/usr/share/man \ --infodir=/usr/share/info make |