wok view webkit-r/receipt @ rev 12248
Up: tazweb (1.6.2)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon Apr 09 18:39:47 2012 +0200 (2012-04-09) |
parents | 10cb3be70a77 |
children | 73641efed1cc |
line source
1 # SliTaz package receipt.
3 PACKAGE="webkit-r"
4 VERSION="99690"
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-ng-uuid-dev"
15 MAINTAINER="pankso@slitaz.org"
16 TARBALL="WebKit-r${VERSION}.tar.bz2"
17 WEB_SITE="http://webkit.org/"
18 WGET_URL="http://nightly.webkit.org/files/trunk/src/$TARBALL"
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 mv WebKit-r${VERSION} $PACKAGE-$VERSION 2>/dev/null
24 cd $src
25 sed -i 's/class TextBreakIterator/typedef struct UBreakIterator TextBreakIterator/' \
26 WebCore/platform/text/TextBreakIterator.h
27 ./autogen.sh \
28 --prefix=/usr \
29 --mandir=/usr/share/man \
30 --with-gtk=2.0 \
31 $CONFIGURE_ARGS &&
32 make $MAKEFLAGS &&
33 make DESTDIR=$PWD/_pkg install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr/lib
40 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
41 }