wok-next annotate qt4-base/receipt @ rev 17381

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