updated on Thu Jan 19 00:16:31 UTC 2012
[aur-mirror.git] / libpano12 / PKGBUILD
blob812581de34873653ad0480d8384f482049a61789
1 # $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $
2 # Maintainer: tobias <tobias@archlinux.org>
3 # Contributor: Tobias Kieslich <tobias@justdreams.de>
5 pkgname=libpano12
6 pkgver=2.8.6
7 pkgrel=1
8 pkgdesc="basic library to calculate panoramical pictures - core functions of the panotools"
9         url="http://panotools.sourceforge.net/"
10 arch=(i686 x86_64)
11 license=('GPL')
12 depends=('libpng' 'libtiff')
13 makedepends=('j2sdk')
14 options=('!libtool')
15 source=(http://dl.sourceforge.net/sourceforge/panotools/$pkgname-$pkgver.tar.gz)
16 md5sums=('d4eae64c292bff3001ef3eef0fc9cb94')
18 build() {
19   cd $startdir/src/$pkgname-$pkgver
20   sed -i 's:\(^.*MAX_FISHEYE_FOV.*\)160.*$:\1720.0:' filter.h
21   ./configure --prefix=/usr --with-java=/opt/java
22   make || return 1
23   make DESTDIR=$startdir/pkg install