wok-6.x annotate webkit-r/receipt @ rev 10617

ncmpc: update bdeps (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu May 26 18:34:03 2011 +0200 (2011-05-26)
parents 269b83630f57
children 53a227ffd1c4
rev   line source
pankso@876 1 # SliTaz package receipt.
pankso@876 2
pankso@876 3 PACKAGE="webkit-r"
pankso@2041 4 VERSION="39953"
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
pascal@9980 13 sqlite-dev libtool m4 bison flex curl-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 \
pascal@1514 29 $CONFIGURE_ARGS &&
pascal@5777 30 make -j 4 &&
pankso@876 31 make DESTDIR=$PWD/_pkg install
pankso@876 32 }
pankso@876 33
pankso@876 34 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@876 35 genpkg_rules()
pankso@876 36 {
pankso@876 37 mkdir -p $fs/usr/lib
pankso@876 38 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
pankso@876 39 }