blob: d6fb23900bc44815a4be6cc837966e47e8d8451c (
plain)
1 # Description: Scanner frontend and GIMP plugin for sane
2 # URL: http://www.xsane.org
3 # Maintainer: Juergen Daubert, jue at crux dot nu
4 # Depends on: gimp, sane
5
6 name=xsane
7 version=0.998
8 release=1
9 source=(http://www.xsane.org/download/$name-$version.tar.gz)
10
11 build () {
12 cd $name-$version
13 ./configure --prefix=/usr \
14 --mandir=/usr/man \
15 --disable-nls \
16 --enable-gtk2 \
17 --enable-gimp2
18 make
19 make DESTDIR=$PKG install
20
21 rm -r $PKG/usr/{sbin,share/sane/xsane/doc}
22 rm $PKG/usr/share/sane/xsane/xsane-gpl.txt
23
24 install -d $PKG/usr/lib/gimp/2.0/plug-ins
25 ln -s /usr/bin/xsane $PKG/usr/lib/gimp/2.0/plug-ins
26 }
|