wok view webkit-r/receipt @ rev 14318

Up webkit-r (147865)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Apr 07 16:12:59 2013 +0200 (2013-04-07)
parents bf3dbc1493f1
children 1111758c4102
line source
1 # SliTaz package receipt.
3 PACKAGE="webkit-r"
4 VERSION="147865"
5 CATEGORY="network"
6 SHORT_DESC="xHTML render library."
7 DEPENDS="libxslt expat gtk+ icu jpeg libcurl libxml2 openssl sqlite \
8 xorg-libICE xorg-libSM xorg-libX11 xorg-libXau xorg-libXcomposite \
9 xorg-libXcursor xorg-libXdmcp xorg-libXext xorg-libXfixes \
10 xorg-libXinerama xorg-libXrandr xorg-libXrender xorg-libXt \
11 xorg-libXdamage gcc-lib-base"
12 BUILD_DEPENDS="icu icu-dev gperf libxslt-dev glib-dev autoconf automake \
13 sqlite-dev libtool m4 bison flex curl-dev gtk-doc libsoup-dev \
14 gst-plugins-base-dev gstreamer-dev util-linux-uuid-dev \
15 jpeg-dev libjpeg libpng-dev pango-dev gtk+-dev ruby"
16 MAINTAINER="pankso@slitaz.org"
17 TARBALL="WebKit-r${VERSION}.tar.bz2"
18 WEB_SITE="http://webkit.org/"
19 WGET_URL="http://nightly.webkit.org/files/trunk/src/$TARBALL"
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 mv WebKit-r${VERSION} $PACKAGE-$VERSION 2>/dev/null
25 cd $src
26 sed -i 's/class TextBreakIterator/typedef struct UBreakIterator TextBreakIterator/' \
27 WebCore/platform/text/TextBreakIterator.h
28 ./autogen.sh \
29 --prefix=/usr \
30 --mandir=/usr/share/man \
31 --with-gtk=2.0 \
32 $CONFIGURE_ARGS &&
33 make $MAKEFLAGS &&
34 make DESTDIR=$DESTDIR install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr/lib
41 cp -a $install/usr/lib/*.so* $fs/usr/lib
42 }