wok-6.x view webkit-r/receipt @ rev 25443

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