updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / camelot_seq / PKGBUILD
blobd7d6c3e593797756288b798c6d14e4cc12c80a73
1 # This is an example PKGBUILD file. Use this as a start to creating your own,
2 # and remove these comments. For more information, see 'man PKGBUILD'.
3 # NOTE: Please fill out the license field for your package! If it is unknown,
4 # then please put 'unknown'.
6 # Maintainer: Andrea Rossi <accordioner@gmail.com>
7 pkgname=camelot_seq
8 pkgver=1.3
9 pkgrel=2
10 pkgdesc="An environment for the programming and seamlessly parallel execution of Cellular Automata"
11 arch=(any)
12 url="http://staff.icar.cnr.it/spezzano/camelot/camelot.html"
13 license=('GPL')
14 groups=()
15 depends=(libxp mpich)
16 source=(http://staff.icar.cnr.it/spezzano/camelot/$pkgname.tar.gz)
17 md5sums=(28e017bdbdde372c2c5b4ba7877c92d7)
18 install=${pkgname}.install
20 build() {
21   cd "$srcdir"
22   mkdir -p usr/share/camelot_seq
23   mkdir -p usr/local/
24   mv cam_seq usr/local/
25   mv usr ../pkg
26   mkdir ../pkg/usr/bin
27   cd ../pkg
28   mv usr/local/cam_seq usr/local/camelot_seq
29   ln usr/local/camelot_seq/camelot usr/bin/camelot
30   cp usr/local/camelot_seq/macrocell.c usr/share/camelot_seq/
31   echo "\$MPIR_ROOT=/opt/mpich" >> ~/.bash_profile
32   echo "export MPIR_ROOT" >> ~/.bash_profile 
33   export MPIR_ROOT=/opt/mpich
37 # vim:set ts=2 sw=2 et: