wok-next view webkit-r/receipt @ rev 20454
Choose between libpng16 and libpng12
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Feb 28 17:32:31 2018 +0200 (2018-02-28) |
parents | 2de6fbbac440 |
children | 4396aed7eb01 |
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="http://webkit.org/"
11 WGET_URL="http://nightly.webkit.org/files/trunk/src/$TARBALL"
13 DEPENDS="libxslt expat gtk+ icu jpeg libcurl libxml2 openssl sqlite3 \
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 sqlite3-dev libtool m4 bison flex curl-dev gtk-doc libsoup-dev \
20 gst0-plugins-base-dev gstreamer0-dev util-linux-uuid-dev \
21 jpeg-dev libjpeg libpng16-dev pango-dev gtk+-dev orc-dev \
22 xorg-libXt-dev"
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 mv WebKit-r${VERSION} $PACKAGE-$VERSION 2>/dev/null
28 cd $src
29 patch -p0 < $stuff/bison26.u
30 patch -p1 < $stuff/CSSParser.cpp.u
31 ./autogen.sh \
32 --prefix=/usr \
33 --mandir=/usr/share/man \
34 --with-gtk=2.0 \
35 $CONFIGURE_ARGS &&
36 make $MAKEFLAGS &&
37 make DESTDIR=$DESTDIR install
38 }
40 # Rules to gen a SliTaz package suitable for Tazpkg.
41 genpkg_rules()
42 {
43 mkdir -p $fs/usr/lib
44 cp -a $install/usr/lib/*.so* $fs/usr/lib
45 }