summaryrefslogtreecommitdiff
path: root/noncore/net/wellenreiter/build
blob: 44eb8d8a9ca1f5f5fc6d412826d5c246475e00cb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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