wok annotate webkit-r/receipt @ rev 20556
gcc3: set host,build,target
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Dec 12 18:05:39 2018 +0100 (2018-12-12) |
parents | 8d6f480bf664 |
children | 6135577f4d08 |
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@15482 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15482 | 8 LICENSE="BSD LGPL" |
pascal@15482 | 9 TARBALL="WebKit-r${VERSION}.tar.bz2" |
pascal@15482 | 10 WEB_SITE="http://webkit.org/" |
pascal@15482 | 11 WGET_URL="http://nightly.webkit.org/files/trunk/src/$TARBALL" |
pascal@15482 | 12 |
pascal@11537 | 13 DEPENDS="libxslt expat gtk+ icu jpeg libcurl libxml2 openssl sqlite \ |
pascal@11537 | 14 xorg-libICE xorg-libSM xorg-libX11 xorg-libXau xorg-libXcomposite \ |
pascal@11537 | 15 xorg-libXcursor xorg-libXdmcp xorg-libXext xorg-libXfixes \ |
pascal@11537 | 16 xorg-libXinerama xorg-libXrandr xorg-libXrender xorg-libXt \ |
pascal@5007 | 17 xorg-libXdamage gcc-lib-base" |
pascal@11537 | 18 BUILD_DEPENDS="icu icu-dev gperf libxslt-dev glib-dev autoconf automake \ |
pascal@11537 | 19 sqlite-dev libtool m4 bison flex curl-dev gtk-doc libsoup-dev \ |
pascal@12563 | 20 gst-plugins-base-dev gstreamer-dev util-linux-uuid-dev \ |
pascal@14319 | 21 jpeg-dev libjpeg libpng-dev pango-dev gtk+-dev orc-dev" |
pankso@876 | 22 |
pankso@876 | 23 # Rules to configure and make the package. |
pankso@876 | 24 compile_rules() |
pankso@876 | 25 { |
pankso@2041 | 26 mv WebKit-r${VERSION} $PACKAGE-$VERSION 2>/dev/null |
pankso@876 | 27 cd $src |
pascal@14340 | 28 patch -p0 < $stuff/bison26.u |
erjo@17863 | 29 patch -p1 < $stuff/CSSParser.cpp.u |
pankso@876 | 30 ./autogen.sh \ |
pankso@876 | 31 --prefix=/usr \ |
pankso@876 | 32 --mandir=/usr/share/man \ |
erjo@11505 | 33 --with-gtk=2.0 \ |
pascal@1514 | 34 $CONFIGURE_ARGS && |
devl547@11246 | 35 make $MAKEFLAGS && |
pascal@14318 | 36 make DESTDIR=$DESTDIR install |
pankso@876 | 37 } |
pankso@876 | 38 |
pankso@876 | 39 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@876 | 40 genpkg_rules() |
pankso@876 | 41 { |
pankso@876 | 42 mkdir -p $fs/usr/lib |
pascal@14318 | 43 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pankso@876 | 44 } |