updated on Tue Jan 17 12:00:36 UTC 2012
[aur-mirror.git] / polymake / PKGBUILD
blobfc76fdbd2af85fed3583c147596517042038ad37
1 # Maintainer: Stephan Friedrichs <stephan.friedrichs@tu-bs.de>
3 pkgname=polymake
4 pkgver=2.11
5 pkgrel=3
6 pkgdesc='A tool to study the combinatorics and the geometry of convex polytopes and polyhedra'
7 arch=('i686' 'x86_64')
8 url='http://polymake.org/'
9 license=('GPL2')
10 depends=( \
11         'gmp' 'mpfr' \
12         'perl>=5.8.1' 'perl-term-readline-gnu' \
13         'perl-xml-libxml' 'perl-xml-libxslt' 'perl-xml-writer' \
14         )
15 makedepends=('boost')
16 optdepends=( \
17         'java-environment>=5: jreality ' \
18         'libgl: jreality' \
19         'nvidia-cg-toolkit: jreality' \
20         'jack: jreality' \
21         )
22 options=('!emptydirs')
23 source=("http://polymake.org/lib/exe/fetch.php/download/${pkgname}-${pkgver}.tar.bz2")
24 sha256sums=('232dd41f39ad7f67508c513ced2642f84f9e116b3613a790b57900a3dfce286d')
26 build() {
27         cd ${srcdir}/${pkgname}-${pkgver}
28         ./configure --prefix=/usr --docdir=/usr/share/doc/${pkgname}
29         make
32 package() {
33         cd ${srcdir}/${pkgname}-${pkgver}
34         make DESTDIR=${pkgdir} install