diff options
author | tnut <thierryn1 at hispeed dot ch> | 2010-10-02 01:37:57 +0200 |
---|---|---|
committer | tnut <thierryn1 at hispeed dot ch> | 2010-10-02 01:37:57 +0200 |
commit | cd6f21470278c0a0db4f591cc859e4306e0c3287 (patch) | |
tree | 408251a60b1fa06d5d35e43f1927b9dfde44271c /kde3/qt3-devel/Pkgfile | |
parent | 9c22fc28d56cfd8c60986cae58e41913d4447f83 (diff) | |
download | nutyx-pakxe-cd6f21470278c0a0db4f591cc859e4306e0c3287.tar.gz nutyx-pakxe-cd6f21470278c0a0db4f591cc859e4306e0c3287.tar.bz2 nutyx-pakxe-cd6f21470278c0a0db4f591cc859e4306e0c3287.tar.xz nutyx-pakxe-cd6f21470278c0a0db4f591cc859e4306e0c3287.zip |
ajout de qt3-devel#3.3.8b-1
Diffstat (limited to 'kde3/qt3-devel/Pkgfile')
-rw-r--r-- | kde3/qt3-devel/Pkgfile | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/kde3/qt3-devel/Pkgfile b/kde3/qt3-devel/Pkgfile new file mode 100644 index 000000000..d57019d30 --- /dev/null +++ b/kde3/qt3-devel/Pkgfile @@ -0,0 +1,47 @@ +# Description: Librairie très complète de chez Trolltech +# URL: http://trolltech.com/products/qt/qt3 +# Maintainer: NuTyX core team +# Packager: thierryn1 at hispeed dot ch +# Depends on: xorg, libjpeg, libmng, libcups + +name=qt3-devel +version=3.3.8b +release=1 +source=( ftp://ftp.trolltech.com/qt/source/qt-x11-free-$version.tar.gz \ + qt-3.3.8b-png14-1.patch ) + +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" + + echo "yes"|./configure -prefix /opt/qt \ + -docdir /opt/qt/share/doc/qt \ + -sysconfdir /etc/qt3 \ + -qt-gif \ + -qt-zlib \ + -qt-libpng \ + -qt-libjpeg \ + -qt-libmng \ + -qt-imgfmt-png \ + -qt-imgfmt-jpeg \ + -qt-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 $PKG/opt/qt/lib/libqt-mt.* +} + + |