wok annotate libwebkit/receipt @ rev 4022

Fix: PolicyKit FSH --localstatedir=/var and genpkg_rules
author Christophe Lincoln <pankso@slitaz.org>
date Fri Sep 04 12:12:41 2009 +0200 (2009-09-04)
parents 1eb71064eddf
children e24b9f715190
rev   line source
mallory@3146 1 # SliTaz package receipt.
mallory@3146 2
mallory@3146 3 PACKAGE="libwebkit"
mallory@3146 4 SOURCE="webkit"
rcx@3981 5 VERSION="1.1.13"
mallory@3146 6 CATEGORY="network"
mallory@3146 7 SHORT_DESC="xHTML render library."
mallory@3146 8 DEPENDS="gtk+ enchant icu libxslt expat gtk+ jpeg libpng libcurl libxml2 openssl 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
mallory@3146 12 xorg-libXdamage libsoup"
rcx@3981 13 BUILD_DEPENDS="gtk+-dev enchant enchant-dev icu icu-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 \
mallory@3146 36 $CONFIGURE_ARGS &&
mallory@3146 37 make && make DESTDIR=$PWD/_pkg install
mallory@3146 38 }
mallory@3146 39
mallory@3146 40 # Rules to gen a SliTaz package suitable for Tazpkg.
mallory@3146 41 genpkg_rules()
mallory@3146 42 {
mallory@3146 43 mkdir -p $fs/usr/lib
mallory@3146 44 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
mallory@3146 45 }