updated to modern VTK
[engrid-github.git] / src / scripts / build-nglib.sh
blob1b2a220d8df8e729024ed2e8282fb915dc7cf421
1 #!/usr/bin/env bash
2 # ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
3 # + +
4 # + This file is part of enGrid. +
5 # + +
6 # + Copyright 2008-2014 enGits GmbH +
7 # + +
8 # + enGrid is free software: you can redistribute it and/or modify +
9 # + it under the terms of the GNU General Public License as published by +
10 # + the Free Software Foundation, either version 3 of the License, or +
11 # + (at your option) any later version. +
12 # + +
13 # + enGrid is distributed in the hope that it will be useful, +
14 # + but WITHOUT ANY WARRANTY; without even the implied warranty of +
15 # + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +
16 # + GNU General Public License for more details. +
17 # + +
18 # + You should have received a copy of the GNU General Public License +
19 # + along with enGrid. If not, see <http://www.gnu.org/licenses/>. +
20 # + +
21 # ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
23 # DESCRIPTION:
25 cd netgen_svn
26 wget http://engits.eu/files/netgen-4.9.13.zip
27 unzip netgen-4.9.13.zip
28 rm -f netgen-4.9.13.zip
29 [ -e netgen-mesher ] && rm -rf netgen-mesher
30 mkdir netgen-mesher
31 mv netgen-4.9.13 netgen-mesher/netgen
32 cd netgen-mesher
33 patch -p0 < ../nglib_engrid_mods.diff
34 cd ..
35 qmake
36 make clean
37 make -j4
38 cd ..
40 # ----------------------------------------------------------------- end-of-file