wok view qt4/receipt @ rev 22810

Add squidanalyser
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Jan 31 12:24:59 2020 +0100 (2020-01-31)
parents 2b57d3be76e3
children 52649f27a0da
line source
1 # SliTaz package receipt.
3 PACKAGE="qt4"
4 SOURCE="qt-everywhere-opensource-src"
5 VERSION="4.8.7"
6 CATEGORY="meta"
7 SHORT_DESC="qt x11 toolkit"
8 MAINTAINER="allan316@gmail.com"
9 LICENSE="GPL3 LGPL2.1"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="http://qt-project.org/"
12 WGET_URL="http://download.qt.io/official_releases/qt/${VERSION%.*}/$VERSION/$TARBALL"
13 PROVIDE="qt-x11-opensource-src Qt4"
14 TAGS="qt"
16 DEPENDS="glibc-locale libQtCore libQtGui libQtNetwork libQtSvg libQtXml \
17 libQtDesigner libQtScript libQt3Support libQtClucene libQtDBus libQtHelp \
18 libQtOpenGL libQtSql libQtWebkit qtconfig"
19 SUGGESTED="libQtPlugins libQtScriptTools libQtDeclarative"
20 BUILD_DEPENDS="xorg-libX11-dev dbus-dev mesa-dev libmng-dev cups-dev mysql-dev \
21 unixODBC-dev fontconfig-dev postgresql-dev atk-dev autoconf automake bash \
22 binutils bison bzip2-dev cairo-dev coreutils expat-dev flex fontconfig-dev \
23 freetype-dev gettext glib-dev jpeg-dev libIDL libcap-dev libpng-dev libtool \
24 libxml2-dev linux-api-headers m4 make mercurial ncurses-dev openssl-dev \
25 pango-dev patch pcre-dev perl perl-xml-parser perl-xml-simple pixman-dev \
26 pkg-config tiff-dev xorg-dev-proto xorg-dev zip unzip gtk+-dev alsa-lib-dev \
27 xorg-libXv-dev sqlite-dev"
29 # Rules to configure and make the package.
30 compile_rules()
31 {
32 export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:${src}/lib"
33 ./configure\
34 -silent \
35 -prefix /usr \
36 -confirm-license -opensource \
37 -sysconfdir /etc/xdg \
38 -plugindir /usr/lib/qt/plugins \
39 -importdir /usr/lib/qt/imports \
40 -translationdir /usr/share/qt/translations \
41 -datadir /usr/share/qt \
42 -docdir /usr/share/doc/qt \
43 -examplesdir /usr/share/doc/qt/examples \
44 -demosdir /usr/share/doc/qt/demos \
45 -release \
46 -nomake demos \
47 -nomake examples \
48 -nomake docs \
49 -system-zlib \
50 -system-libtiff \
51 -system-libpng \
52 -system-libmng \
53 -system-libjpeg \
54 -system-sqlite \
55 -scripttools \
56 -glib \
57 -optimized-qmake \
58 -opengl \
59 -gtkstyle \
60 -no-openvg \
61 -no-reduce-relocations \
62 -no-phonon \
63 -no-phonon-backend \
64 -graphicssystem raster \
65 -continue \
66 2>&1 | grep -v 'wayland-client' | \
67 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 }