summaryrefslogtreecommitdiffstats
path: root/extra/libpano13/Pkgfile
blob: 1b473468020ce1913237fba4034319d03f1bc210 (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: 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
# Run on:

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
}