wok view qt4/receipt @ rev 12294
linux: build first the x86_64 kernel
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon Apr 16 09:42:04 2012 +0200 (2012-04-16) |
parents | d7a402d77741 |
children | d6282809b093 |
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"
27 # Rules to configure and make the package.
28 compile_rules()
29 {
30 cd $src
31 ./configure -v \
32 -prefix /usr \
33 -confirm-license -opensource \
34 -silent \
35 -sysconfdir /etc \
36 -plugindir /usr/lib/qt/plugins \
37 -importdir /usr/lib/qt/imports \
38 -translationdir /usr/share/qt/translations \
39 -datadir /usr/share/qt \
40 -docdir /usr/share/doc/qt \
41 -examplesdir /usr/share/doc/qt/examples \
42 -demosdir /usr/share/doc/qt/demos \
43 -no-separate-debug-info \
44 -nomake demos \
45 -nomake examples \
46 -nomake docs \
47 -system-zlib \
48 -system-libtiff \
49 -system-libpng \
50 -system-libmng \
51 -system-libjpeg \
52 -system-sqlite \
53 -scripttools \
54 -glib \
55 -phonon \
56 -optimized-qmake \
57 -opengl \
58 -gtkstyle &&
59 make $MAKEFLAGS &&
60 make INSTALL_ROOT=$DESTDIR install
61 }
63 # Rules to gen a SliTaz package suitable for Tazpkg.
64 genpkg_rules()
65 {
66 # dummy tree to avoid 'tazwok cmp --cook' building loop
67 mkdir $fs/etc
68 # pkgconfig path fixes
69 sed -i -e "s|-L$src/_pkg/usr/lib||g" $_pkg/usr/lib/pkgconfig/*.pc
70 sed -i -e "s|$src/_pkg/usr/bin/moc|/usr/bin/moc|g" $_pkg/usr/lib/pkgconfig/*.pc
71 sed -i -e "s|$src/_pkg/usr/bin/uic|/usr/bin/uic|g" $_pkg/usr/lib/pkgconfig/*.pc
72 }