wok-next diff 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 diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/qt4-base/receipt	Thu Aug 21 03:34:29 2014 +0200
     1.3 @@ -0,0 +1,77 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="qt4-base"
     1.7 +SOURCE="qt-everywhere-opensource-src"
     1.8 +VERSION="4.8.6"
     1.9 +CATEGORY="development"
    1.10 +SHORT_DESC="Qt4 less deps experimental rebuild, empty package"
    1.11 +MAINTAINER="psychomaniak@xakep.ru"
    1.12 +LICENSE="GPL3 LGPL2.1"
    1.13 +TARBALL="$SOURCE-$VERSION.tar.gz"
    1.14 +WEB_SITE="http://qt-project.org/"
    1.15 +WGET_URL="http://download.qt-project.org/archive/qt/4.8/$VERSION/$TARBALL"
    1.16 +PROVIDE="qt-x11-opensource-src Qt4"
    1.17 +TAGS="qt"
    1.18 +
    1.19 +DEPENDS=""
    1.20 +BUILD_DEPENDS="xorg-libX11-dev dbus-dev libmng-dev \
    1.21 +cups-dev mysql-dev unixODBC-dev mesa-dev fontconfig-dev \
    1.22 +postgresql-dev atk-dev autoconf automake bash \
    1.23 +binutils bison bzip2-dev cairo-dev coreutils expat-dev flex fontconfig-dev \
    1.24 +freetype-dev gettext glib-dev jpeg-dev libIDL libcap-dev libpng-dev libtool \
    1.25 +libxml2-dev linux-api-headers m4 make mercurial ncurses-dev openssl-dev \
    1.26 +pango-dev patch pcre-dev perl perl-xml-parser perl-xml-simple pixman-dev \
    1.27 +pkg-config tiff-dev xorg-dev-proto xorg-dev zip unzip gtk+-dev alsa-lib-dev \
    1.28 +sqlite-dev"
    1.29 +
    1.30 +# Rules to configure and make the package.
    1.31 +compile_rules()
    1.32 +{
    1.33 +	mkdir -p $WOK/$PACKAGE/source/
    1.34 +	ln -s $WOK/qt4/source/qt4-$VERSION $WOK/$PACKAGE/source/$PACKAGE-$VERSION
    1.35 +	cd $WOK/$PACKAGE/source/$PACKAGE-$VERSION &&
    1.36 +	#cd $src
    1.37 +	./configure\
    1.38 +		-silent \
    1.39 +		-prefix /usr \
    1.40 +		-confirm-license -opensource \
    1.41 +		-sysconfdir /etc/xdg \
    1.42 +		-plugindir /usr/lib/qt/plugins \
    1.43 +		-importdir /usr/lib/qt/imports \
    1.44 +		-translationdir /usr/share/qt/translations \
    1.45 +		-datadir /usr/share/qt \
    1.46 +		-docdir /usr/share/doc/qt \
    1.47 +		-examplesdir /usr/share/doc/qt/examples \
    1.48 +		-demosdir /usr/share/doc/qt/demos \
    1.49 +		-release \
    1.50 +		-nomake demos \
    1.51 +		-nomake examples \
    1.52 +		-nomake docs \
    1.53 +		-system-zlib \
    1.54 +		-system-libtiff \
    1.55 +		-system-libpng \
    1.56 +		-system-libmng \
    1.57 +		-system-libjpeg \
    1.58 +		-system-sqlite \
    1.59 +		-scripttools \
    1.60 +		-glib \
    1.61 +		-optimized-qmake \
    1.62 +		-gtkstyle \
    1.63 +		-no-opengl -no-openvg \
    1.64 +		-reduce-relocations \
    1.65 +		-no-gstreamer -no-phonon \
    1.66 +		-no-declarative -no-phonon-backend \
    1.67 +		-graphicssystem raster \
    1.68 +		-silent \
    1.69 +		-continue \
    1.70 +		2>&1 | sed 's/such file or directory/file/' &&
    1.71 +	make $MAKEFLAGS &&
    1.72 +	make INSTALL_ROOT=$DESTDIR install
    1.73 +}
    1.74 +
    1.75 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.76 +genpkg_rules()
    1.77 +{
    1.78 +	# dummy tree to avoid 'tazwok cmp --cook' building loop
    1.79 +	mkdir $fs/etc
    1.80 +}