wok-next view webkit-r/receipt @ rev 12521
Up: xorg-mkfontdir, xorg-setxkbmap, xorg-xauth, xorg-xclock, xorg-xcompmgr, xorg-xinput, xorg-xload + clean receipt
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Apr 25 00:15:23 2012 +0200 (2012-04-25) |
parents | 6e4164520176 |
children | 48a3c0a87ff7 |
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-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 }