wok-6.x view libwebkit/receipt @ rev 13861

rrdtool: use lua5.1
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Jan 11 19:14:13 2013 +0100 (2013-01-11)
parents d697df9615a4
children 011608c931d5
line source
1 # SliTaz package receipt.
3 PACKAGE="libwebkit"
4 VERSION="1.8.1"
5 CATEGORY="network"
6 SHORT_DESC="xHTML render library."
7 MAINTAINER="mallory@sweetpeople.org"
8 SOURCE="webkit"
9 TARBALL="$SOURCE-$VERSION.tar.xz"
10 WEB_SITE="http://webkitgtk.org"
11 WGET_URL="$WEB_SITE/releases/$TARBALL"
13 DEPENDS="gtk+ enchant libxslt expat gtk+ jpeg libpng libxml2 sqlite \
14 xorg-libICE xorg-libSM xorg-libX11 xorg-libXau xorg-libXcomposite \
15 xorg-libXcursor xorg-libXdmcp xorg-libXext xorg-libXfixes xorg-libXinerama \
16 xorg-libXrandr xorg-libXrender xorg-libXt acl xorg-libXdamage libsoup \
17 gcc-lib-base libtasn1 util-linux-uuid glib-networking"
18 BUILD_DEPENDS="gtk+-dev enchant enchant-dev gperf libxslt-dev jpeg-dev \
19 libpng-dev glib-dev autoconf automake gnutls-dev sqlite-dev libtool \
20 m4 bison flex xorg-libXdamage-dev acl-dev libsoup-dev libxml2-dev \
21 libxcb-dev xcb-util-dev util-linux-uuid-dev zlib-dev libtasn1-dev \
22 gobject-introspection-dev tar gettext glib-networking-dev gtk-doc"
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 cd $src
28 # fix Bug 84526: webkit-gtk-1.8.0 fails to build with --disable-video
29 patch -p0 < $stuff/CodeGeneratorGObject-bug-84526.patch || exit 1
30 # libwebkit does not like parallel builds.
31 export MAKEFLAGS=$(echo $MAKEFLAGS | sed 's/-j[0-9]*/-j1/')
32 ./configure \
33 --prefix=/usr \
34 --infodir=/usr/share/info \
35 --mandir=/usr/share/man \
36 --enable-introspection=no \
37 --enable-video=no \
38 --enable-jit=yes \
39 --disable-webgl \
40 --disable-geolocation \
41 --with-unicode-backend=glib \
42 --with-gtk=2.0 \
43 --disable-gtk-doc \
44 $CONFIGURE_ARGS &&
45 make all stamp-po && make DESTDIR=$DESTDIR install &&
46 cp -a $src/Programs/GtkLauncher $DESTDIR/usr/bin
47 }
49 # Rules to gen a SliTaz package suitable for Tazpkg.
50 genpkg_rules()
51 {
52 mkdir -p $fs/usr/lib $fs/usr/bin
53 [ -d $_pkg/usr/lib/girepository-1.0 ] && cp -a $_pkg/usr/lib/girepository-1.0 $fs/usr/lib
54 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
55 }