wok-current view qt4-base/receipt @ rev 17188
Add simh
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Oct 03 18:49:40 2014 +0200 (2014-10-03) |
parents | 35280a31e8f1 |
children | 13d643413294 |
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/4.8/$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 rm -rf $WOK/$PACKAGE/source/ && mkdir -p $WOK/$PACKAGE/source/
31 ln -s $WOK/qt4/source/qt4-$VERSION \
32 $WOK/$PACKAGE/source/$PACKAGE-$VERSION &&
33 cd $WOK/$PACKAGE/source/$PACKAGE-$VERSION &&
34 # cd $src
35 ./configure\
36 -silent \
37 -prefix /usr \
38 -confirm-license -opensource \
39 -sysconfdir /etc/xdg \
40 -plugindir /usr/lib/qt/plugins \
41 -importdir /usr/lib/qt/imports \
42 -translationdir /usr/share/qt/translations \
43 -datadir /usr/share/qt \
44 -docdir /usr/share/doc/qt \
45 -examplesdir /usr/share/doc/qt/examples \
46 -demosdir /usr/share/doc/qt/demos \
47 -release \
48 -nomake demos \
49 -nomake examples \
50 -nomake docs \
51 -system-zlib \
52 -system-libtiff \
53 -system-libpng \
54 -system-libmng \
55 -system-libjpeg \
56 -system-sqlite \
57 -scripttools \
58 -glib \
59 -optimized-qmake \
60 -gtkstyle \
61 -no-opengl -no-openvg \
62 -reduce-relocations \
63 -no-gstreamer -no-phonon \
64 -no-declarative -no-phonon-backend \
65 -graphicssystem raster \
66 -continue \
67 2>&1 | sed 's/such file or directory/file/' &&
68 make $MAKEFLAGS &&
69 make INSTALL_ROOT=$DESTDIR install
70 }
72 # Rules to gen a SliTaz package suitable for Tazpkg.
73 genpkg_rules()
74 {
75 mkdir -p $fs/etc/xdg
76 }