build-qt-4.7.sh

build-qt-4.7.sh
#!/bin/bash
set -x
. $(dirname $0)/config
 
cd $SOURCES
wget -c \
   ftp://ftp.qt.nokia.com/qt/source/qt-everywhere-opensource-src-4.7.0.tar.gz
wget -c \
  http://bis.org.pl/SOURCES/qt-everywhere-opensource-src-4.6.2.patch
 
cd $BUILD
 
rm -rf qt-everywhere-opensource-src-4.7.0
tar -xf $SOURCES/qt-everywhere-opensource-src-4.7.0.tar.gz
cd qt-everywhere-opensource-src-4.7.0
 
patch -p1 < $SOURCES/qt-everywhere-opensource-src-4.6.2.patch
 
echo "yes" | \
./configure \
	-embedded arm \
	-xplatform qws/linux-arm-gnu-g++ \
	-prefix /usr \
	-qt-gfx-linuxfb \
	-qt-kbd-tty \
	-qt-kbd-linuxinput \
	-qt-mouse-linuxtp \
	-qt-mouse-linuxinput \
	-no-rpath \
	-opensource
 
make $J
make INSTALL_ROOT=$STAGING install
ostatnio zmienione: 2011/08/19 13:50