wok-next rev 3146

Add: libwebkit, libwebkit-dev
author Mallory MOLLO <mallory@skyrock.com>
date Sat May 23 21:27:04 2009 +0200 (2009-05-23)
parents 296b0ab62537
children 5f38033f456b
files libwebkit-dev/receipt libwebkit/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/libwebkit-dev/receipt	Sat May 23 21:27:04 2009 +0200
     1.3 @@ -0,0 +1,20 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="libwebkit-dev"
     1.7 +SOURCE="webkit"
     1.8 +VERSION="1.1.7"
     1.9 +CATEGORY="network"
    1.10 +SHORT_DESC="xHTML render library."
    1.11 +WANTED="libwebkit"
    1.12 +MAINTAINER="mallory@sweetpeople.org"
    1.13 +WEB_SITE="http://webkitgtk.org"
    1.14 +
    1.15 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.16 +genpkg_rules()
    1.17 +{
    1.18 +    _pkg=$WOK/$WANTED/$SOURCE-$VERSION/_pkg
    1.19 +	mkdir -p $fs/usr/lib
    1.20 +	cp -a $_pkg/usr/lib/*.*a $fs/usr/lib
    1.21 +	cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib
    1.22 +	cp -a $_pkg/usr/include $fs/usr
    1.23 +}
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/libwebkit/receipt	Sat May 23 21:27:04 2009 +0200
     2.3 @@ -0,0 +1,39 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="libwebkit"
     2.7 +SOURCE="webkit"
     2.8 +VERSION="1.1.7"
     2.9 +CATEGORY="network"
    2.10 +SHORT_DESC="xHTML render library."
    2.11 +DEPENDS="gtk+ enchant icu libxslt expat gtk+ jpeg libpng libcurl libxml2 openssl sqlite
    2.12 +         xorg-libICE xorg-libSM xorg-libX11 xorg-libXau xorg-libXcomposite
    2.13 +         xorg-libXcursor xorg-libXdmcp xorg-libXext xorg-libXfixes
    2.14 +         xorg-libXinerama xorg-libXrandr xorg-libXrender xorg-libXt
    2.15 +         xorg-libXdamage libsoup"
    2.16 +BUILD_DEPENDS="gtk+-dev enchant-dev icu icu-dev gperf libxslt-dev jpeg-dev libpng-dev glib-dev autoconf automake 
    2.17 +               sqlite-dev libtool m4 bison flex libsoup-dev"
    2.18 +MAINTAINER="mallory@sweetpeople.org"
    2.19 +TARBALL="$SOURCE-$VERSION.tar.gz"
    2.20 +WEB_SITE="http://webkitgtk.org"
    2.21 +WGET_URL="$WEB_SITE/$TARBALL"
    2.22 +
    2.23 +# Rules to configure and make the package.
    2.24 +compile_rules()
    2.25 +{
    2.26 +	cd $src
    2.27 +	./configure \
    2.28 +		--prefix=/usr \
    2.29 +		--infodir=/usr/share/info \
    2.30 +		--mandir=/usr/share/man \
    2.31 +        --enable-video=no \
    2.32 +        --enable-svg=no \
    2.33 +		$CONFIGURE_ARGS &&
    2.34 +	make && make DESTDIR=$PWD/_pkg install
    2.35 +}
    2.36 +
    2.37 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.38 +genpkg_rules()
    2.39 +{
    2.40 +	mkdir -p $fs/usr/lib
    2.41 +	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    2.42 +}