summaryrefslogtreecommitdiffstats
path: root/ham/unixcw/BUILD
diff options
context:
space:
mode:
Diffstat (limited to 'ham/unixcw/BUILD')
-rwxr-xr-xham/unixcw/BUILD26
1 files changed, 26 insertions, 0 deletions
diff --git a/ham/unixcw/BUILD b/ham/unixcw/BUILD
new file mode 100755
index 0000000000..4ebd5d7f90
--- /dev/null
+++ b/ham/unixcw/BUILD
@@ -0,0 +1,26 @@
+(
+
+ if ! [ -e /usr/lib/libqt.so ]; then
+ ln -s /usr/lib/libqt-mt.so.3.0.4 /usr/lib/libqt.so
+ fi
+
+ mkdir /tmp/unixcw_qt
+ ln -s /usr/include/qt /tmp/unixcw_qt/include
+ ln -s /usr/bin /tmp/unixcw_qt/bin
+ ln -s /usr/lib/qt /tmp/unixcw_qt/lib
+ export QTDIR=/tmp/unixcw_qt
+
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ $OPTS &&
+ make all &&
+ prepare_install &&
+ make install &&
+ rm -r /tmp/unixcw_qt/ &&
+ ln -sf /usr/man/man1/xcwcp.1.gz \
+ /usr/man/man1/unixcw.1.gz &&
+
+ cp $SCRIPT_DIRECTORY/unixcw /usr/bin
+
+) > $C_FIFO 2>&1