summaryrefslogtreecommitdiffstats
path: root/extra/xsane/Pkgfile
blob: 4b9581d2906e32905e2e8c77cbad07ac5472ba9d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Description: Interface graphique pour gérer le scanner
# URL: http://www.xsane.org
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed dot ch
# Depends on: sane, gtk1, gtk
# Run on:

name=xsane
version=0.997
release=1

source=( http://www.xsane.org/download/$name-$version.tar.gz)
build() {
	cd $name-$version
	./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/
}