summaryrefslogtreecommitdiffstats
path: root/ham/unixcw/BUILD
blob: 4ebd5d7f90c5ee407a6110c2084045c77c4e620c (plain) (blame)
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
(

  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