File: bindist

package info (click to toggle)
freemat 4.2%2Bdfsg1-4
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 141,800 kB
  • ctags: 14,082
  • sloc: ansic: 126,788; cpp: 62,046; python: 2,080; perl: 1,255; sh: 1,146; yacc: 1,019; lex: 239; makefile: 100
file content (34 lines) | stat: -rwxr-xr-x 723 bytes parent folder | download | duplicates (4)
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
29
30
31
32
33
34
#!/bin/sh

QTBASE=qt-x11-opensource-src-4.5.2
QTFILE="$QTBASE.tar.gz"

if [ -e $QTFILE ]
then
  echo "Already have QT"
else
  wget -nc "ftp://ftp.qtsoftware.com/qt/source/$QTFILE"
fi

if [ -d $QTBASE ]
then
  echo "Already unpacked QT"
else
  echo "Unpacking QT"
  tar xfz $QTFILE
fi

BASE=$PWD
cd $QTBASE
if [ -e bin/qmake ]
then
  echo "Already configured"
else
./configure -prefix $BASE -fast -no-qt3support -no-xmlpatterns -no-phonon -no-phonon-backend -no-webkit -no-scripttools -no-mmx -no-3dnow -no-sse -no-sse2 -qt-zlib -qt-gif -qt-libtiff -qt-libpng -qt-libmng -qt-libjpeg -no-openssl -no-nis -no-cups -no-iconv -no-dbus -no-nas-sound -no-xrandr -no-xrender -no-xinput -no-glib -no-mitshm
fi

make
make install