wok diff libwebkit-video/receipt @ rev 11832

Up: perl-libwww (6.04)
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Mon Feb 27 00:27:31 2012 +0100 (2012-02-27)
parents
children 88250b081917
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/libwebkit-video/receipt	Mon Feb 27 00:27:31 2012 +0100
     1.3 @@ -0,0 +1,49 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="libwebkit-video"
     1.7 +VERSION="1.6.1"
     1.8 +CATEGORY="network"
     1.9 +SHORT_DESC="xHTML render library."
    1.10 +MAINTAINER="mallory@sweetpeople.org"
    1.11 +SOURCE="webkit"
    1.12 +TARBALL="$SOURCE-$VERSION.tar.gz"
    1.13 +WEB_SITE="http://webkitgtk.org/"
    1.14 +WGET_URL="$WEB_SITE/$TARBALL"
    1.15 +
    1.16 +DEPENDS="gtk+ enchant libxslt expat gtk+ jpeg libpng libxml2 sqlite \
    1.17 +xorg-libICE xorg-libSM xorg-libX11 xorg-libXau xorg-libXcomposite \
    1.18 +xorg-libXcursor xorg-libXdmcp xorg-libXext xorg-libXfixes xorg-libXinerama \
    1.19 +xorg-libXrandr xorg-libXrender xorg-libXt acl xorg-libXdamage libsoup \
    1.20 +gcc-lib-base libtasn1 util-linux-ng-uuid glib-networking"
    1.21 +BUILD_DEPENDS="gtk+-dev enchant enchant-dev gperf libxslt-dev jpeg-dev \
    1.22 +libpng-dev glib-dev autoconf automake gnutls-dev sqlite-dev libtool \
    1.23 +m4 bison flex xorg-libXdamage-dev acl-dev libsoup-dev libxml2-dev \
    1.24 +libxcb-dev xcb-util-dev util-linux-ng-uuid-dev zlib-dev libtasn1-dev \
    1.25 +gobject-introspection-dev tar gettext glib-networking-dev \
    1.26 +gstreamer-dev gst-plugins-base-dev"
    1.27 +
    1.28 +# Rules to configure and make the package.
    1.29 +compile_rules()
    1.30 +{
    1.31 +	cd $src
    1.32 +	./configure \
    1.33 +		--prefix=/usr \
    1.34 +		--infodir=/usr/share/info \
    1.35 +		--mandir=/usr/share/man \
    1.36 +		--enable-introspection=no \
    1.37 +		--enable-video=yes \
    1.38 +		--enable-jit=yes \
    1.39 +		--with-unicode-backend=glib \
    1.40 +		--with-gtk=2.0 \
    1.41 +		$CONFIGURE_ARGS &&
    1.42 +	make all stamp-po && make DESTDIR=$DESTDIR install &&
    1.43 +	cp -a $src/Programs/GtkLauncher $DESTDIR/usr/bin
    1.44 +}
    1.45 +
    1.46 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.47 +genpkg_rules()
    1.48 +{
    1.49 +	mkdir -p $fs/usr/lib $fs/usr/bin
    1.50 +	[ -d $_pkg/usr/lib/girepository-1.0 ] && cp -a $_pkg/usr/lib/girepository-1.0 $fs/usr/lib
    1.51 +	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    1.52 +}