wok view qt4/receipt @ rev 6017
icedtea6: Upgrade to 1.8.1
author | Matthew Sheets <rcx@zoominternet.net> |
---|---|
date | Sat Aug 14 21:49:48 2010 +0000 (2010-08-14) |
parents | 80e64bc2e98a |
children | 99e3675b8ff1 |
line source
1 # SliTaz package receipt.
3 PACKAGE="qt4"
4 SOURCE="qt-everywhere-opensource-src"
5 VERSION="4.6.2"
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"
14 TARBALL="$SOURCE-$VERSION.tar.gz"
15 WEB_SITE="http://qt.nokia.com/"
16 WGET_URL="ftp://ftp.qt.nokia.com/qt/source/$TARBALL"
17 PROVIDE="qt-x11-opensource-src"
18 TAGS="qt"
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 cd $src
24 ./configure -v \
25 -prefix /usr \
26 -confirm-license -opensource \
27 -silent \
28 -sysconfdir /etc \
29 -plugindir /usr/lib/qt/plugins \
30 -translationdir /usr/share/qt/translations \
31 -datadir /usr/share/qt \
32 -docdir /usr/share/doc/qt \
33 -examplesdir /usr/share/doc/qt/examples \
34 -demosdir /usr/share/doc/qt/demos \
35 -no-separate-debug-info \
36 -nomake demos \
37 -nomake examples \
38 -nomake docs \
39 -phonon \
40 -optimized-qmake \
41 -opengl \
42 -gtkstyle &&
43 make -j 4 &&
44 make INSTALL_ROOT=$PWD/_pkg install
45 }
47 # Rules to gen a SliTaz package suitable for Tazpkg.
48 genpkg_rules()
49 {
50 # dummy tree to avoid 'tazwok cmp --cook' building loop
51 mkdir $fs/etc
52 # pkgconfig path fixes
53 sed -i -e "s|-L$src/_pkg/usr/lib||g" $_pkg/usr/lib/pkgconfig/*.pc
54 sed -i -e "s|$src/_pkg/usr/bin/moc|/usr/bin/moc|g" $_pkg/usr/lib/pkgconfig/*.pc
55 sed -i -e "s|$src/_pkg/usr/bin/uic|/usr/bin/uic|g" $_pkg/usr/lib/pkgconfig/*.pc
56 }