summaryrefslogtreecommitdiffstats
path: root/extra/lensfun/Pkgfile
blob: 8220027c19284ce02b1b2869a73a7678e7a1e92a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Description: librairies lensfun
# URL: http://lensfun.berlios.de
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed dot ch
# Depends on: libpng, glib, python
# Run on: libpng,glib

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
}