summaryrefslogtreecommitdiff
path: root/extra/libpano13/PKGBUILD
blob: 1ca765d69415e7cbc27ab208617c717ceb9728ca (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
25
26
27
28
29
# $Id: PKGBUILD 184405 2013-05-06 19:38:25Z foutrelis $
# Maintainer: Gaetan Bisson <bisson@archlinux.org>
# Contributor: Tobias Kieslich <tobias@justdreams.de>

pkgname=libpano13
pkgver=2.9.18
pkgrel=3
pkgdesc='Basic library to calculate panoramical pictures - core functions of the panotools'
url='http://panotools.sourceforge.net/'
arch=('i686' 'x86_64' 'mips64el')
license=('GPL2')
depends=('libpng' 'libtiff')
[ "$CARCH" != "mips64el" ] && makedepends=('jdk7-openjdk')
source=("http://downloads.sourceforge.net/sourceforge/panotools/${pkgname}-${pkgver}.tar.gz")
sha1sums=('23849bdbdfc9176a2b53d157e58bd24aa0e7276e')

options=('!libtool')

build() {
	cd "${srcdir}/${pkgname}-${pkgver}"
	[ "$CARCH" != "mips64el" ] && extra=--with-java=${JAVA_HOME}
	./configure --prefix=/usr --mandir=/usr/share/man $extra
	make
}

package() {
	cd "${srcdir}/${pkgname}-${pkgver}"
	make DESTDIR="${pkgdir}" install
}