1
0
forked from ports/opt
opt/xsane/Pkgfile
2005-12-04 13:30:32 +00:00

26 lines
725 B
Plaintext

# Description: Scanner frontend and GIMP plugin for sane
# URL: http://www.xsane.org
# Maintainer: Jürgen Daubert, juergen dot daubert at t-online dot de
# Depends on: sane, gtk, gimp, libjpeg, libpng, libtiff
name=xsane
version=0.98b
release=1
source=(http://www.xsane.org/download/$name-$version.tar.gz)
build () {
cd $name-$version
./configure --prefix=/usr \
--disable-nls \
--enable-gtk2 \
--enable-gimp2
make
make prefix=$PKG/usr install
rm -r $PKG/usr/sbin $PKG/usr/share/sane/xsane/doc
rm $PKG/usr/share/sane/xsane/xsane-gpl.txt
mkdir -p $PKG/usr/lib/gimp/2.0/plug-ins
ln -s /usr/bin/xsane $PKG/usr/lib/gimp/2.0/plug-ins
}