summaryrefslogtreecommitdiffstats
path: root/kde3/qt3/Pkgfile
diff options
context:
space:
mode:
authortnut <thierryn1 at hispeed dot ch>2010-10-01 16:58:29 +0200
committertnut <thierryn1 at hispeed dot ch>2010-10-01 16:58:29 +0200
commit9c22fc28d56cfd8c60986cae58e41913d4447f83 (patch)
tree012f18dcc529766293cd98161b126ed174cc33b4 /kde3/qt3/Pkgfile
parent02af6e5f73f11d19c9c3b25e2e5f4cfd58e95374 (diff)
downloadnutyx-pakxe-9c22fc28d56cfd8c60986cae58e41913d4447f83.tar.gz
nutyx-pakxe-9c22fc28d56cfd8c60986cae58e41913d4447f83.tar.bz2
nutyx-pakxe-9c22fc28d56cfd8c60986cae58e41913d4447f83.tar.xz
nutyx-pakxe-9c22fc28d56cfd8c60986cae58e41913d4447f83.zip
maj qt3#3.3.8b-2, uniquement la runtime librairie
Diffstat (limited to 'kde3/qt3/Pkgfile')
-rw-r--r--kde3/qt3/Pkgfile28
1 files changed, 10 insertions, 18 deletions
diff --git a/kde3/qt3/Pkgfile b/kde3/qt3/Pkgfile
index 4ca812439..1b6318307 100644
--- a/kde3/qt3/Pkgfile
+++ b/kde3/qt3/Pkgfile
@@ -6,7 +6,7 @@
name=qt3
version=3.3.8b
-release=1
+release=2
source=( ftp://ftp.trolltech.com/qt/source/qt-x11-free-$version.tar.gz \
qt-3.3.8b-png14-1.patch )
@@ -14,32 +14,24 @@ build() {
cd qt-x11-free-$version
patch -Np1 -i ../qt-3.3.8b-png14-1.patch
export QTDIR=$PWD
- sed -i '/QMAKE_RPATH/d' mkspecs/linux*/qmake.conf
export PATH=$PWD/bin:$PATH
- export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:`pwd`/lib"
- ./configure -prefix /opt/qt \
+ echo "yes"|./configure -prefix /opt/qt \
-docdir /opt/qt/share/doc/qt \
-sysconfdir /etc/qt3 \
-qt-gif \
- -system-zlib \
- -system-libpng \
- -system-libjpeg \
- -system-libmng \
+ -qt-zlib \
+ -qt-libpng \
+ -qt-libjpeg \
+ -qt-libmng \
-plugin-imgfmt-png \
-plugin-imgfmt-jpeg \
-plugin-imgfmt-mng \
-no-exceptions \
-thread \
-tablet
- make src-moc sub-src
- find . -name Makefile -exec sed -i "s|,/usr/lib|,`pwd`/lib|" {} \;
- find . -name Makefile -exec sed -i "s|,/opt/qt/lib|,`pwd`/lib|" {} \;
- make sub-tools
- make INSTALL_ROOT=$PKG install
-
- # correct qmake's PRL files (the libraries were placed into /usr/lib*/ and
- # not in our temporary build directory ./work/src/..)
- sed -i "s|-L$SRC/qt-x11-free-$version/lib ||g" $PKG/opt/qt/lib/*.prl
- rm -rf $PKG/opt/qt/share/doc
+ cd src && make
+ cd ..
+ mkdir -p $PKG/opt/qt/lib
+ cp lib/libqt-mt.* $PKG/opt/qt/lib/
}