wok-next annotate webkit-r/receipt @ rev 14358

electricsheep: partial fix
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Apr 18 10:45:17 2013 +0200 (2013-04-18)
parents 1111758c4102
children 8d6f480bf664
rev   line source
pankso@876 1 # SliTaz package receipt.
pankso@876 2
pankso@876 3 PACKAGE="webkit-r"
pascal@14319 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@14319 15 jpeg-dev libjpeg libpng-dev pango-dev gtk+-dev orc-dev"
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@14340 26 patch -p0 < $stuff/bison26.u
pankso@876 27 ./autogen.sh \
pankso@876 28 --prefix=/usr \
pankso@876 29 --mandir=/usr/share/man \
erjo@11505 30 --with-gtk=2.0 \
pascal@1514 31 $CONFIGURE_ARGS &&
devl547@11246 32 make $MAKEFLAGS &&
pascal@14318 33 make DESTDIR=$DESTDIR install
pankso@876 34 }
pankso@876 35
pankso@876 36 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@876 37 genpkg_rules()
pankso@876 38 {
pankso@876 39 mkdir -p $fs/usr/lib
pascal@14318 40 cp -a $install/usr/lib/*.so* $fs/usr/lib
pankso@876 41 }