xsane: update to 0.997

This commit is contained in:
Juergen Daubert 2009-08-15 10:32:40 +02:00
parent 1f13449fbb
commit 381f4a01c8
2 changed files with 6 additions and 5 deletions

View File

@ -1 +1 @@
7dcbcdf0e83322d7c0a543672d9ca2d8 xsane-0.996.tar.gz
8377b3e3b792f3d2b7f13895467c7082 xsane-0.997.tar.gz

View File

@ -4,22 +4,23 @@
# Depends on: gimp, sane
name=xsane
version=0.996
version=0.997
release=1
source=(http://www.xsane.org/download/$name-$version.tar.gz)
build () {
cd $name-$version
./configure --prefix=/usr \
--mandir=/usr/man \
--disable-nls \
--enable-gtk2 \
--enable-gimp2
make
make prefix=$PKG/usr install
make DESTDIR=$PKG install
rm -r $PKG/usr/sbin $PKG/usr/share/sane/xsane/doc
rm -r $PKG/usr/{sbin,share/sane/xsane/doc}
rm $PKG/usr/share/sane/xsane/xsane-gpl.txt
mkdir -p $PKG/usr/lib/gimp/2.0/plug-ins
install -d $PKG/usr/lib/gimp/2.0/plug-ins
ln -s /usr/bin/xsane $PKG/usr/lib/gimp/2.0/plug-ins
}