summaryrefslogtreecommitdiffstats
path: root/base/lensfun/Pkgfile
blob: d56286bc2046e111efd327790cfbda431480d469 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Description: librairies lensfun
# URL: http://lensfun.berlios.de
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed dot ch

name=lensfun
version=0.2.5
release=1
source=(http://dist.momonga-linux.org/pub/momonga/development/SOURCES/$name-$version.tar.bz2)

build(){
	cd $name-$version
	sed -i "s/python/python2/" configure
        ./configure --prefix=/usr --libdir=/usr/lib
	make all
	make DESTDIR=$PKG install
	if [ -d $PKG/usr/share/doc ]; then
		rm -r $PKG/usr/share/doc
	fi
}