wok-stable view qt4/receipt @ rev 7610
Up: sqlite to 3.7.4.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sat Dec 11 14:23:11 2010 +0000 (2010-12-11) |
parents | 99e3675b8ff1 |
children | 3c1dfda82c43 |
line source
1 # SliTaz package receipt.
3 PACKAGE="qt4"
4 SOURCE="qt-everywhere-opensource-src"
5 VERSION="4.7.1"
6 CATEGORY="meta"
7 SHORT_DESC="qt x11 toolkit"
8 MAINTAINER="allan316@gmail.com"
9 DEPENDS="glibc-locale libQtCore libQtGui libQtNetwork libQtSvg libQtXml \
10 libQtDesigner libQtScript libQt3Support libQtClucene libQtDBus libQtHelp \
11 libQtOpenGL libQtSql libQtWebkit gstreamer"
12 BUILD_DEPENDS="xorg-libX11-dev dbus-dev slitaz-dev-pkgs gstreamer \
13 gstreamer-dev gst-python-dev libmng-dev cups-dev mysql-dev unixODBC-dev \
14 mesa-dev fontconfig-dev libegl-mesa libglu-mesa libglw-mesa postgresql-dev glibc-locale \
15 gtk+-dev gst-plugins-base-dev"
16 TARBALL="$SOURCE-$VERSION.tar.gz"
17 WEB_SITE="http://qt.nokia.com/"
18 WGET_URL="ftp://ftp.qt.nokia.com/qt/source/$TARBALL"
19 PROVIDE="qt-x11-opensource-src"
20 TAGS="qt"
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 cd $src
27 ./configure -v \
28 -prefix /usr \
29 -confirm-license -opensource \
30 -silent \
31 -sysconfdir /etc \
32 -plugindir /usr/lib/qt/plugins \
33 -translationdir /usr/share/qt/translations \
34 -datadir /usr/share/qt \
35 -docdir /usr/share/doc/qt \
36 -examplesdir /usr/share/doc/qt/examples \
37 -demosdir /usr/share/doc/qt/demos \
38 -no-separate-debug-info \
39 -nomake demos \
40 -nomake examples \
41 -nomake docs \
42 -system-zlib \
43 -system-libtiff \
44 -system-libpng \
45 -system-libmng \
46 -system-libjpeg \
47 -system-sqlite \
48 -glib \
49 -phonon \
50 -optimized-qmake \
51 -opengl \
52 -gtkstyle &&
53 make -j 4 &&
54 make INSTALL_ROOT=$PWD/_pkg install
55 }
57 # Rules to gen a SliTaz package suitable for Tazpkg.
58 genpkg_rules()
59 {
60 # dummy tree to avoid 'tazwok cmp --cook' building loop
61 mkdir $fs/etc
62 # pkgconfig path fixes
63 sed -i -e "s|-L$src/_pkg/usr/lib||g" $_pkg/usr/lib/pkgconfig/*.pc
64 sed -i -e "s|$src/_pkg/usr/bin/moc|/usr/bin/moc|g" $_pkg/usr/lib/pkgconfig/*.pc
65 sed -i -e "s|$src/_pkg/usr/bin/uic|/usr/bin/uic|g" $_pkg/usr/lib/pkgconfig/*.pc
66 }