wok view qt4/receipt @ rev 13934
qt4: typo
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jan 26 12:25:05 2013 +0100 (2013-01-26) |
parents | a90735695393 |
children | 68ec33732967 |
line source
1 # SliTaz package receipt.
3 PACKAGE="qt4"
4 SOURCE="qt-everywhere-opensource-src"
5 VERSION="4.7.3"
6 CATEGORY="meta"
7 SHORT_DESC="qt x11 toolkit"
8 MAINTAINER="allan316@gmail.com"
9 TARBALL="$SOURCE-$VERSION.tar.gz"
10 WEB_SITE="http://qt.nokia.com/"
11 WGET_URL="ftp://ftp.qt.nokia.com/qt/source/$TARBALL"
12 PROVIDE="qt-x11-opensource-src"
13 TAGS="qt"
15 DEPENDS="glibc-locale libQtCore libQtGui libQtNetwork libQtSvg libQtXml \
16 libQtDesigner libQtScript libQt3Support libQtClucene libQtDBus libQtHelp \
17 libQtOpenGL libQtSql libQtWebkit gstreamer"
18 BUILD_DEPENDS="xorg-libX11-dev dbus-dev gstreamer-dev gst-python-dev libmng-dev \
19 cups-dev mysql-dev unixODBC-dev mesa-dev fontconfig-dev libegl-mesa libglu-mesa \
20 libglw-mesa postgresql-dev gst-plugins-base-dev atk-dev autoconf automake bash \
21 binutils bison bzip2-dev cairo-dev coreutils expat-dev flex fontconfig-dev \
22 freetype-dev gettext glib-dev jpeg-dev libIDL libcap-dev libpng-dev libtool \
23 libxml2-dev linux-api-headers m4 make mercurial ncurses-dev openssl-dev \
24 pango-dev patch pcre-dev perl perl-xml-parser perl-xml-simple pixman-dev \
25 pkg-config tiff-dev xorg-dev-proto xorg-dev zip unzip gtk+-dev alsa-lib-dev \
26 sqlite-dev libglu-mesa-dev libglw-mesa-dev"
28 # Rules to configure and make the package.
29 compile_rules()
30 {
31 cd $src
32 touch .qmake.vars
33 ./configure -v \
34 -prefix /usr \
35 -confirm-license -opensource \
36 -silent \
37 -sysconfdir /etc \
38 -plugindir /usr/lib/qt/plugins \
39 -importdir /usr/lib/qt/imports \
40 -translationdir /usr/share/qt/translations \
41 -datadir /usr/share/qt \
42 -docdir /usr/share/doc/qt \
43 -examplesdir /usr/share/doc/qt/examples \
44 -demosdir /usr/share/doc/qt/demos \
45 -no-separate-debug-info \
46 -nomake demos \
47 -nomake examples \
48 -nomake docs \
49 -system-zlib \
50 -system-libtiff \
51 -system-libpng \
52 -system-libmng \
53 -system-libjpeg \
54 -system-sqlite \
55 -scripttools \
56 -glib \
57 -phonon \
58 -optimized-qmake \
59 -opengl \
60 -gtkstyle \
61 2>&1 | sed 's/such file or directory/file/' &&
62 make $MAKEFLAGS &&
63 make INSTALL_ROOT=$DESTDIR install
64 }
66 # Rules to gen a SliTaz package suitable for Tazpkg.
67 genpkg_rules()
68 {
69 # dummy tree to avoid 'tazwok cmp --cook' building loop
70 mkdir $fs/etc
71 # pkgconfig path fixes
72 sed -i -e "s|-L$src/_pkg/usr/lib||g" $install/usr/lib/pkgconfig/*.pc
73 sed -i -e "s|$src/_pkg/usr/bin/moc|/usr/bin/moc|g" $install/usr/lib/pkgconfig/*.pc
74 sed -i -e "s|$src/_pkg/usr/bin/uic|/usr/bin/uic|g" $install/usr/lib/pkgconfig/*.pc
75 }