summaryrefslogtreecommitdiffstats
path: root/extra/libpano13/Pkgfile
blob: ace12f70d6aef90f4e8747fbb553180f5b542236 (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, jdk

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
}