updated on Thu Jan 5 13:17:10 UTC 2012
[aur-mirror.git] / swarm / PKGBUILD
blob6c990bb4281ac1dad1c1923f9f3044bdd1f57a09
1 # Contributor: Yanxiang Qian <scifi.org@gmail.com>
2 pkgname=swarm
3 pkgver=2.2.3
4 pkgrel=1
5 pkgdesc="Swarm is a platform for agent-based models (ABMs)."
6 url="http://www.swarm.org"
7 license="GPL"
8 depends=('tk' 'blt' 'gperf' 'libxpm' 'libpng' 'xorg-server' 'hdf5' 'gcc')
9 makedepends=()
10 conflicts=()
11 replaces=()
12 backup=()
13 install=
14 source=(http://pj.freefaculty.org/Swarm/$pkgname-$pkgver.tar.gz)
15 md5sums=(40a6f7cd35cd5166086ef17310f6d78b)
17 build() {
18     cd $startdir/src/$pkgname-$pkgver
19     ./configure --prefix=/usr --disable-jar --without-jdkdir --with-pic --with-gnu-ld --with-tclincludedir=/usr/include/tcl8.4/ --with-tclscriptdir=/usr/lib/tcl8.4/ --with-tkscriptdir=/usr/lib/tk8.4/
20     make || return 1
21     make DESTDIR=$startdir/pkg install