# SliTaz package receipt.

PACKAGE="pywebkitgtk"
VERSION="1.1.7"
CATEGORY="development"
SHORT_DESC="Python bindings to the Webkit GTK+ port."
MAINTAINER="slaxemulator@gmail.com"
DEPENDS="libwebkit pygtk libxslt"
BUILD_DEPENDS="libwebkit-dev pygtk-dev libxslt-dev python-dev util-linux-ng-uuid-dev pkg-config"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WEB_SITE="http://code.google.com/p/pywebkitgtk/"
WGET_URL="http://pywebkitgtk.googlecode.com/files/$TARBALL"

# Rules to configure and make the package.
compile_rules()
{
	cd $src
	./configure \
		--prefix=/usr \
		--infodir=/usr/share/info \
		--mandir=/usr/share/man \
		$CONFIGURE_ARGS &&
	make && make DESTDIR=$PWD/_pkg install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
	mkdir -p $fs/usr/share
	cp -a $_pkg/usr/lib $fs/usr
	cp -a $_pkg/usr/share/pywebkitgtk $fs/usr/share
}