wok-next view qt4-base/receipt @ rev 18956
Add python-peak-rules package; add it to python-turbogears dependencies
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Mar 09 02:21:29 2016 +0200 (2016-03-09) |
parents | 13d643413294 |
children | a356df28f7fc |
line source
1 # SliTaz package receipt.
3 PACKAGE="qt4-base"
4 SOURCE="qt-everywhere-opensource-src"
5 VERSION="4.8.6"
6 CATEGORY="meta"
7 SHORT_DESC="Qt4 less deps rebuild (without gstreamer, phonon etc.)"
8 MAINTAINER="psychomaniak@xakep.ru"
9 LICENSE="GPL3 LGPL2.1"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="http://qt-project.org/"
12 WGET_URL="http://download.qt-project.org/archive/qt/${VERSION%.*}/$VERSION/$TARBALL"
13 # PROVIDE="qt-x11-opensource-src Qt4"
14 TAGS="qt"
16 DEPENDS="libQtWebkit qtconfig"
17 BUILD_DEPENDS="xorg-libX11-dev dbus-dev libmng-dev \
18 cups-dev mysql-dev unixODBC-dev mesa-dev fontconfig-dev \
19 postgresql-dev atk-dev autoconf automake bash \
20 binutils bison bzip2-dev cairo-dev coreutils expat-dev flex fontconfig-dev \
21 freetype-dev gettext glib-dev jpeg-dev libIDL libcap-dev libpng-dev libtool \
22 libxml2-dev linux-api-headers m4 make mercurial ncurses-dev openssl-dev \
23 pango-dev patch pcre-dev perl perl-xml-parser perl-xml-simple pixman-dev \
24 pkg-config tiff-dev xorg-dev-proto xorg-dev zip unzip gtk+-dev alsa-lib-dev \
25 sqlite-dev libQtClucene wayland-dev"
27 # Rules to configure and make the package.
28 compile_rules()
29 {
30 ./configure\
31 -silent \
32 -prefix /usr \
33 -confirm-license -opensource \
34 -sysconfdir /etc/xdg \
35 -plugindir /usr/lib/qt/plugins \
36 -importdir /usr/lib/qt/imports \
37 -translationdir /usr/share/qt/translations \
38 -datadir /usr/share/qt \
39 -docdir /usr/share/doc/qt \
40 -examplesdir /usr/share/doc/qt/examples \
41 -demosdir /usr/share/doc/qt/demos \
42 -release \
43 -nomake demos \
44 -nomake examples \
45 -nomake docs \
46 -system-zlib \
47 -system-libtiff \
48 -system-libpng \
49 -system-libmng \
50 -system-libjpeg \
51 -system-sqlite \
52 -scripttools \
53 -glib \
54 -optimized-qmake \
55 -gtkstyle \
56 -no-opengl -no-openvg \
57 -reduce-relocations \
58 -no-gstreamer -no-phonon \
59 -no-declarative -no-phonon-backend \
60 -graphicssystem raster \
61 -continue \
62 2>&1 | sed 's/such file or directory/file/' &&
63 make $MAKEFLAGS &&
64 make INSTALL_ROOT=$DESTDIR install
65 }
67 # Rules to gen a SliTaz package suitable for Tazpkg.
68 genpkg_rules()
69 {
70 mkdir -p $fs/etc/xdg
71 }