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