summaryrefslogtreecommitdiffstats
path: root/extra/libpano13/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'extra/libpano13/Pkgfile')
-rwxr-xr-xextra/libpano13/Pkgfile22
1 files changed, 22 insertions, 0 deletions
diff --git a/extra/libpano13/Pkgfile b/extra/libpano13/Pkgfile
new file mode 100755
index 000000000..aba478118
--- /dev/null
+++ b/extra/libpano13/Pkgfile
@@ -0,0 +1,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
+}
+