summaryrefslogtreecommitdiffstats
path: root/kde3/qt3/Pkgfile
blob: 14d54ad65278edabef341a035c28ddbc9e14aee5 (plain)
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
35
# 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, libcups, qt3-devel

name=qt3
version=3.3.8b
release=2
source=( ftp://ftp.trolltech.com/qt/source/qt-x11-free-$version.tar.gz )

build() {
        cd qt-x11-free-$version
        export QTDIR=$PWD
        export PATH=$PWD/bin:$PATH

	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
        cd src && make
	cd ..
	mkdir -p $PKG/opt/qt/lib
	cp -a lib/libqt-mt.* $PKG/opt/qt/lib/
}