wok view libwebkit/receipt @ rev 5022
improve libwebkit; drop icu dep; reduce overall size
author | Rohit Joshi <jozee@slitaz.org> |
---|---|
date | Tue Mar 02 10:40:07 2010 +0000 (2010-03-02) |
parents | 8752c40cc534 |
children | 9f9acbd86f07 |
line source
1 # SliTaz package receipt.
3 PACKAGE="libwebkit"
4 SOURCE="webkit"
5 VERSION="1.1.22"
6 CATEGORY="network"
7 SHORT_DESC="xHTML render library."
8 DEPENDS="gtk+ enchant libxslt expat gtk+ jpeg libpng libxml2 sqlite
9 xorg-libICE xorg-libSM xorg-libX11 xorg-libXau xorg-libXcomposite
10 xorg-libXcursor xorg-libXdmcp xorg-libXext xorg-libXfixes
11 xorg-libXinerama xorg-libXrandr xorg-libXrender xorg-libXt
12 xorg-libXdamage libsoup gcc-lib-base"
13 BUILD_DEPENDS="gtk+-dev enchant enchant-dev gperf libxslt-dev jpeg-dev libpng-dev glib-dev autoconf automake
14 sqlite-dev libtool m4 bison flex xorg-libXdamage-dev libsoup-dev libxml2-dev libxcb-dev xcb-util-dev"
15 MAINTAINER="mallory@sweetpeople.org"
16 TARBALL="$SOURCE-$VERSION.tar.gz"
17 WEB_SITE="http://webkitgtk.org"
18 WGET_URL="$WEB_SITE/$TARBALL"
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 cd $src
25 # When fully implemented, this ./configure option will eliminate the large icu dependency
26 # There is a planned set of 4 patches, of which only the first has been implemented to date
27 # https://bugs.webkit.org/show_bug.cgi?id=15914
28 # --with-unicode-backend=glib
30 ./configure \
31 --prefix=/usr \
32 --infodir=/usr/share/info \
33 --mandir=/usr/share/man \
34 --enable-video=no \
35 --enable-svg=no \
36 --with-unicode-backend=glib \
37 $CONFIGURE_ARGS &&
38 make && make DESTDIR=$PWD/_pkg install
39 }
41 # Rules to gen a SliTaz package suitable for Tazpkg.
42 genpkg_rules()
43 {
44 mkdir -p $fs/usr/lib
45 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
46 }