wok view webkit-r/receipt @ rev 24924

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