Diffstat (limited to 'noncore/net/wellenreiter/build') (more/less context) (ignore 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 @@ +########################################## +# Wellenreiter X11 standalone build script # +########################################## + +PREFIX=/usr/local + +# ------------------- do not change anything below + +if [ -z $QTDIR ] +then + echo "*** ERROR: QTDIR is not set. QTDIR must point to your Qt directory, e.g. /usr/lib/qt3" + exit +fi + +export QMAKESPEC=$QTDIR/mkspecs/linux-g++ +export OPIEDIR=$PWD +export PATH=$QTDIR/bin:$PATH +qmake "platform=x11" wellenreiter.pro + + +case "$1" in +compile) make;; +install) cp -dfR output/* $PREFIX/;; +*) echo "Usage: ./build [compile|install]"; exit;; +esac + + + |