wok-6.x view qt4/receipt @ rev 19568
Up qt4 (4.8.7)
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Thu Dec 22 15:11:17 2016 +0100 (2016-12-22) |
parents | d3eb5f4b53ea |
children | 1e7cef522d76 |
line source
1 # SliTaz package receipt.
3 PACKAGE="qt4"
4 SOURCE="qt-everywhere-opensource-src"
5 VERSION="4.8.7"
6 CATEGORY="meta"
7 SHORT_DESC="qt x11 toolkit"
8 MAINTAINER="allan316@gmail.com"
9 LICENSE="GPL3 LGPL2.1"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="http://qt-project.org/"
12 WGET_URL="http://download.qt.io/official_releases/qt/${VERSION%.*}/$VERSION/$TARBALL"
13 PROVIDE="qt-x11-opensource-src Qt4"
14 TAGS="qt"
16 DEPENDS="glibc-locale libQtCore libQtGui libQtNetwork libQtSvg libQtXml \
17 libQtDesigner libQtScript libQt3Support libQtClucene libQtDBus libQtHelp \
18 libQtOpenGL libQtSql libQtWebkit qtconfig"
19 SUGGESTED="libQtPlugins libQtScriptTools libQtDeclarative"
20 BUILD_DEPENDS="xorg-libX11-dev dbus-dev mesa-dev libmng-dev cups-dev mysql-dev \
21 unixODBC-dev fontconfig-dev postgresql-dev atk-dev autoconf automake bash \
22 binutils bison bzip2-dev cairo-dev coreutils expat-dev flex fontconfig-dev \
23 freetype-dev gettext glib-dev jpeg-dev libIDL libcap-dev libpng-dev libtool \
24 libxml2-dev linux-api-headers m4 make mercurial ncurses-dev openssl-dev \
25 pango-dev patch pcre-dev perl perl-xml-parser perl-xml-simple pixman-dev \
26 pkg-config tiff-dev xorg-dev-proto xorg-dev zip unzip gtk+-dev alsa-lib-dev \
27 xorg-libXv-dev sqlite-dev "
29 # Rules to configure and make the package.
30 compile_rules()
31 {
32 ./configure\
33 -silent \
34 -prefix /usr \
35 -confirm-license -opensource \
36 -sysconfdir /etc/xdg \
37 -plugindir /usr/lib/qt/plugins \
38 -importdir /usr/lib/qt/imports \
39 -translationdir /usr/share/qt/translations \
40 -datadir /usr/share/qt \
41 -docdir /usr/share/doc/qt \
42 -examplesdir /usr/share/doc/qt/examples \
43 -demosdir /usr/share/doc/qt/demos \
44 -release \
45 -nomake demos \
46 -nomake examples \
47 -nomake docs \
48 -system-zlib \
49 -system-libtiff \
50 -system-libpng \
51 -system-libmng \
52 -system-libjpeg \
53 -system-sqlite \
54 -scripttools \
55 -glib \
56 -optimized-qmake \
57 -opengl \
58 -gtkstyle \
59 -no-openvg \
60 -no-reduce-relocations \
61 -no-phonon \
62 -no-phonon-backend \
63 -graphicssystem raster \
64 -continue \
65 2>&1 | sed 's/such file or directory/file/' &&
66 make $MAKEFLAGS &&
67 make INSTALL_ROOT=$DESTDIR install
68 }
70 # Rules to gen a SliTaz package suitable for Tazpkg.
71 genpkg_rules()
72 {
73 # dummy tree to avoid 'tazwok cmp --cook' building loop
74 mkdir $fs/etc
75 }