summaryrefslogtreecommitdiffstats
path: root/extra/libpano13/Pkgfile
blob: 759a103b88470ee335913052e5f739a3c31493be (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
	make DESTDIR=$PKG install
}