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