updated on Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git] / neuron / PKGBUILD
blob0add22cef3e36b9fce0cef8e8cd313bc4fa4a51a
1 # Maintainer: Michael Schubert <mschu.dev at gmail>
2 # Contributor: David Campbell <davekong@archlinux.us>
4 pkgname=neuron
5 pkgver=7.1
6 pkgrel=2
7 pkgdesc="Empirically-based simulations of neurons and networks of neurons"
8 arch=('i686' 'x86_64')
9 url="http://www.neuron.yale.edu"
10 license=('GPL')
11 depends=('interviews')
12 optdepends=('python2-numpy' 'python2-scipy' 'mpich2' 'openmpi')
13 source=("http://www.neuron.yale.edu/ftp/neuron/versions/v$pkgver/nrn-$pkgver.tar.gz")
14 options=('!libtool')
15 md5sums=('cd5dd415c1f71f11604a58e57f1cd7f9')
17 build() {
18   cd "$srcdir/nrn-$pkgver"
19   ./configure --prefix=/usr --bindir=/usr/bin --libdir=/usr/lib \
20               --with-nrnpython=/usr/bin/python2 --with-numpy --with-pararn
21   make
24 package() {
25   cd "$srcdir/nrn-$pkgver"
26   make DESTDIR="$pkgdir/" install