# HG changeset patch # User Christopher Rogers # Date 1292784362 0 # Node ID 9035e8329b7d660e2c29fba417d57f2b9b7c4bce # Parent 5e47e150b1fc3af00c657b3788d22ec5cb1a5dd6 Add pywebkitgtk. diff -r 5e47e150b1fc -r 9035e8329b7d pywebkitgtk/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/pywebkitgtk/receipt Sun Dec 19 18:46:02 2010 +0000 @@ -0,0 +1,33 @@ +# 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 +} +