summaryrefslogtreecommitdiffstats
path: root/xsane/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'xsane/Pkgfile')
-rw-r--r--xsane/Pkgfile25
1 files changed, 25 insertions, 0 deletions
diff --git a/xsane/Pkgfile b/xsane/Pkgfile
new file mode 100644
index 000000000..f3f476995
--- /dev/null
+++ b/xsane/Pkgfile
@@ -0,0 +1,25 @@
+# Description: Interface graphique pour gérer le scanner
+# URL: http://www.xsane.org
+# Maintainer: Oliver.Rauch@xsane.org
+# Packager: thierryn1 at hispeed dot ch
+# Depends on: sane, gtk, gtk1
+# Run on: sane,gtk1,gtk
+
+name=xsane
+version=0.998
+release=1
+
+source=( http://www.xsane.org/download/$name-$version.tar.gz\
+ http://nutyx.meticul.eu/files/patchs/$name/xsane-0.998-libpng-01.patch)
+build() {
+ cd $name-$version
+ patch -Np0 -i ../xsane-0.998-libpng-01.patch
+ ./configure --prefix=/usr \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info
+ make
+ make DESTDIR=$PKG install
+ mkdir -p $PKG/usr/lib/gimp/2.0/plug-ins
+ ln -svf /usr/bin/xsane $PKG/usr/lib/gimp/2.0/plug-ins/
+}
+