wok-6.x annotate webkit-r/receipt @ rev 25508
Up memtest (6.10)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Feb 12 10:26:56 2023 +0000 (23 months ago) |
parents | b7f1bd1b9ac7 |
children |
rev | line source |
---|---|
pankso@876 | 1 # SliTaz package receipt. |
pankso@876 | 2 |
pankso@876 | 3 PACKAGE="webkit-r" |
pascal@14319 | 4 VERSION="99690" |
pascal@25097 | 5 BRANCH="$VERSION" |
pascal@1423 | 6 CATEGORY="network" |
pankso@876 | 7 SHORT_DESC="xHTML render library." |
pascal@15482 | 8 MAINTAINER="pankso@slitaz.org" |
pascal@15482 | 9 LICENSE="BSD LGPL" |
pascal@15482 | 10 TARBALL="WebKit-r${VERSION}.tar.bz2" |
pascal@20679 | 11 WEB_SITE="https://webkit.org/" |
pascal@25097 | 12 #WGET_URL="http://nightly.webkit.org/files/trunk/src/$TARBALL" |
pascal@25097 | 13 WGET_URL="https://github.com/WebKit/WebKit.git" |
pascal@15482 | 14 |
pascal@11537 | 15 DEPENDS="libxslt expat gtk+ icu jpeg libcurl libxml2 openssl sqlite \ |
pascal@11537 | 16 xorg-libICE xorg-libSM xorg-libX11 xorg-libXau xorg-libXcomposite \ |
pascal@11537 | 17 xorg-libXcursor xorg-libXdmcp xorg-libXext xorg-libXfixes \ |
pascal@11537 | 18 xorg-libXinerama xorg-libXrandr xorg-libXrender xorg-libXt \ |
pascal@5007 | 19 xorg-libXdamage gcc-lib-base" |
pascal@11537 | 20 BUILD_DEPENDS="icu icu-dev gperf libxslt-dev glib-dev autoconf automake \ |
pascal@11537 | 21 sqlite-dev libtool m4 bison flex curl-dev gtk-doc libsoup-dev \ |
pascal@12563 | 22 gst-plugins-base-dev gstreamer-dev util-linux-uuid-dev \ |
pascal@14319 | 23 jpeg-dev libjpeg libpng-dev pango-dev gtk+-dev orc-dev" |
pankso@876 | 24 |
pascal@24713 | 25 # What is the latest version available today? |
pascal@24713 | 26 current_version() |
pascal@24713 | 27 { |
pascal@24713 | 28 wget -O - https://svn.webkit.org/repository/webkit/ 2>/dev/null | \ |
pascal@24713 | 29 sed '/rev="[0-9]/!d;s|.*rev="||;s|".*||;q' |
pascal@24713 | 30 } |
pascal@24713 | 31 |
pankso@876 | 32 # Rules to configure and make the package. |
pankso@876 | 33 compile_rules() |
pankso@876 | 34 { |
pascal@14340 | 35 patch -p0 < $stuff/bison26.u |
erjo@17863 | 36 patch -p1 < $stuff/CSSParser.cpp.u |
pankso@876 | 37 ./autogen.sh \ |
pankso@876 | 38 --prefix=/usr \ |
pankso@876 | 39 --mandir=/usr/share/man \ |
erjo@11505 | 40 --with-gtk=2.0 \ |
pascal@1514 | 41 $CONFIGURE_ARGS && |
devl547@11246 | 42 make $MAKEFLAGS && |
pascal@14318 | 43 make DESTDIR=$DESTDIR install |
pankso@876 | 44 } |
pankso@876 | 45 |
pankso@876 | 46 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@876 | 47 genpkg_rules() |
pankso@876 | 48 { |
pankso@876 | 49 mkdir -p $fs/usr/lib |
pascal@14318 | 50 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pankso@876 | 51 } |