summaryrefslogtreecommitdiffstats
path: root/extra/libpano13/Pkgfile
blob: aba478118c9745218e6031ddbd8681c289afc50b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Description: Librairie de calcul d'image panoramique
# URL: http://panotools.sourceforge.net/
# Maintainer: NuTyX packager team
# Packager: lesibel at free dot fr
# Depends on: libpng, libtiff

name=libpano13
version=2.9.14
release=1
source=( http://downloads.sourceforge.net/sourceforge/panotools/$name-$version.tar.gz)

build() {
	source /etc/profile
	cd $name-$version
	sed -i 's:\(^.*MAX_FISHEYE_FOV.*\)160.*$:\1720.0:' filter.h 
	./configure --prefix=/usr \
		--mandir=/usr/share/man \
		--with-java=${JAVA_HOME}
	make -j3
	make DESTDIR=$PKG install
}