Diffstat (limited to 'noncore/net/wellenreiter/build') (more/less context) (show whitespace changes)
-rwxr-xr-x | noncore/net/wellenreiter/build | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/noncore/net/wellenreiter/build b/noncore/net/wellenreiter/build new file mode 100755 index 0000000..44eb8d8 --- a/dev/null +++ b/noncore/net/wellenreiter/build | |||
@@ -0,0 +1,28 @@ | |||
1 | ########################################## | ||
2 | # Wellenreiter X11 standalone build script # | ||
3 | ########################################## | ||
4 | |||
5 | PREFIX=/usr/local | ||
6 | |||
7 | # ------------------- do not change anything below | ||
8 | |||
9 | if [ -z $QTDIR ] | ||
10 | then | ||
11 | echo "*** ERROR: QTDIR is not set. QTDIR must point to your Qt directory, e.g. /usr/lib/qt3" | ||
12 | exit | ||
13 | fi | ||
14 | |||
15 | export QMAKESPEC=$QTDIR/mkspecs/linux-g++ | ||
16 | export OPIEDIR=$PWD | ||
17 | export PATH=$QTDIR/bin:$PATH | ||
18 | qmake "platform=x11" wellenreiter.pro | ||
19 | |||
20 | |||
21 | case "$1" in | ||
22 | compile) make;; | ||
23 | install) cp -dfR output/* $PREFIX/;; | ||
24 | *) echo "Usage: ./build [compile|install]"; exit;; | ||
25 | esac | ||
26 | |||
27 | |||
28 | |||