wok-next annotate webkit-r/receipt @ rev 12563
Up wireshark (1.6.7)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Apr 28 18:48:15 2012 +0200 (2012-04-28) |
parents | 73641efed1cc |
children | bf3dbc1493f1 |
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@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@12563 | 15 jpeg-dev libjpeg" |
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 && |
pankso@876 | 34 make DESTDIR=$PWD/_pkg 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 |
pankso@876 | 41 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@876 | 42 } |