| 1 | |
| 2 | {{{ |
| 3 | #!/bin/bash |
| 4 | wget http://coriolis.legi.grenoble-inp.fr/IMG/tgz/uvmat_include_linux64.tgz |
| 5 | tar -xzvf uvmat_include_linux64.tgz |
| 6 | mv uvmat_linux64 uvmat |
| 7 | rm uvmat_include_linux64.tgz |
| 8 | svn checkout http://servforge.legi.grenoble-inp.fr/svn/soft-uvmat/trunk/src uvmat/ |
| 9 | cd uvmat |
| 10 | rm -rf bin |
| 11 | repository=https://civx.svn.sourceforge.net/svnroot/civx |
| 12 | target=src |
| 13 | mkdir bin |
| 14 | svn co $repository/common $target/common |
| 15 | svn co $repository/civ1 $target/civ1 |
| 16 | svn co $repository/civ2 $target/civ2 |
| 17 | svn co $repository/fix_flag $target/fix_flag |
| 18 | svn co $repository/patch_up $target/patch_up |
| 19 | cd $target |
| 20 | cd civ1 |
| 21 | cp makefile_bigtwo makefile |
| 22 | make |
| 23 | cp civ1 ../../bin/ |
| 24 | cd .. |
| 25 | cd civ2 |
| 26 | cp makefile_bigtwo makefile |
| 27 | make |
| 28 | cp civ2 ../../bin/ |
| 29 | cd .. |
| 30 | cd fix_flag |
| 31 | cp makefile_bigtwo makefile |
| 32 | make |
| 33 | cp fix_flag ../../bin/ |
| 34 | cd .. |
| 35 | cd patch_up |
| 36 | cp makefile_bigtwo makefile |
| 37 | make |
| 38 | cp patch_up ../../bin/ |
| 39 | cd .. |
| 40 | cd .. |
| 41 | |
| 42 | |
| 43 | }}} |