wok-6.x view qt4-base/receipt @ rev 17055
qt4: copied to added "qt4-base", ln -s sources, modified
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Thu Aug 21 03:34:29 2014 +0200 (2014-08-21) |
parents | |
children | e96cc1fa3f68 |
line source
1 # SliTaz package receipt.
3 PACKAGE="qt4-base"
4 SOURCE="qt-everywhere-opensource-src"
5 VERSION="4.8.6"
6 CATEGORY="development"
7 SHORT_DESC="Qt4 less deps experimental rebuild, empty package"
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=""
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"
27 # Rules to configure and make the package.
28 compile_rules()
29 {
30 mkdir -p $WOK/$PACKAGE/source/
31 ln -s $WOK/qt4/source/qt4-$VERSION $WOK/$PACKAGE/source/$PACKAGE-$VERSION
32 cd $WOK/$PACKAGE/source/$PACKAGE-$VERSION &&
33 #cd $src
34 ./configure\
35 -silent \
36 -prefix /usr \
37 -confirm-license -opensource \
38 -sysconfdir /etc/xdg \
39 -plugindir /usr/lib/qt/plugins \
40 -importdir /usr/lib/qt/imports \
41 -translationdir /usr/share/qt/translations \
42 -datadir /usr/share/qt \
43 -docdir /usr/share/doc/qt \
44 -examplesdir /usr/share/doc/qt/examples \
45 -demosdir /usr/share/doc/qt/demos \
46 -release \
47 -nomake demos \
48 -nomake examples \
49 -nomake docs \
50 -system-zlib \
51 -system-libtiff \
52 -system-libpng \
53 -system-libmng \
54 -system-libjpeg \
55 -system-sqlite \
56 -scripttools \
57 -glib \
58 -optimized-qmake \
59 -gtkstyle \
60 -no-opengl -no-openvg \
61 -reduce-relocations \
62 -no-gstreamer -no-phonon \
63 -no-declarative -no-phonon-backend \
64 -graphicssystem raster \
65 -silent \
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 # dummy tree to avoid 'tazwok cmp --cook' building loop
76 mkdir $fs/etc
77 }