wok-stable view webkit-r/receipt @ rev 10479
Updated all sourced slitaz-dev-tools receipts to 1.1.2.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Wed May 25 06:05:57 2011 +0000 (2011-05-25) |
parents | 269b83630f57 |
children | 53a227ffd1c4 |
line source
1 # SliTaz package receipt.
3 PACKAGE="webkit-r"
4 VERSION="39953"
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"
14 MAINTAINER="pankso@slitaz.org"
15 TARBALL="WebKit-r${VERSION}.tar.bz2"
16 WEB_SITE="http://webkit.org/"
17 WGET_URL="http://nightly.webkit.org/files/trunk/src/$TARBALL"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 mv WebKit-r${VERSION} $PACKAGE-$VERSION 2>/dev/null
23 cd $src
24 sed -i 's/class TextBreakIterator/typedef struct UBreakIterator TextBreakIterator/' \
25 WebCore/platform/text/TextBreakIterator.h
26 ./autogen.sh \
27 --prefix=/usr \
28 --mandir=/usr/share/man \
29 $CONFIGURE_ARGS &&
30 make -j 4 &&
31 make DESTDIR=$PWD/_pkg install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/lib
38 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
39 }