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