wok-current annotate pywebkitgtk/receipt @ rev 7726
Add pywebkitgtk.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sun Dec 19 18:46:02 2010 +0000 (2010-12-19) |
parents | |
children | 73641efed1cc |
rev | line source |
---|---|
slaxemulator@7726 | 1 # SliTaz package receipt. |
slaxemulator@7726 | 2 |
slaxemulator@7726 | 3 PACKAGE="pywebkitgtk" |
slaxemulator@7726 | 4 VERSION="1.1.7" |
slaxemulator@7726 | 5 CATEGORY="development" |
slaxemulator@7726 | 6 SHORT_DESC="Python bindings to the Webkit GTK+ port." |
slaxemulator@7726 | 7 MAINTAINER="slaxemulator@gmail.com" |
slaxemulator@7726 | 8 DEPENDS="libwebkit pygtk libxslt" |
slaxemulator@7726 | 9 BUILD_DEPENDS="libwebkit-dev pygtk-dev libxslt-dev python-dev util-linux-ng-uuid-dev pkg-config" |
slaxemulator@7726 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
slaxemulator@7726 | 11 WEB_SITE="http://code.google.com/p/pywebkitgtk/" |
slaxemulator@7726 | 12 WGET_URL="http://pywebkitgtk.googlecode.com/files/$TARBALL" |
slaxemulator@7726 | 13 |
slaxemulator@7726 | 14 # Rules to configure and make the package. |
slaxemulator@7726 | 15 compile_rules() |
slaxemulator@7726 | 16 { |
slaxemulator@7726 | 17 cd $src |
slaxemulator@7726 | 18 ./configure \ |
slaxemulator@7726 | 19 --prefix=/usr \ |
slaxemulator@7726 | 20 --infodir=/usr/share/info \ |
slaxemulator@7726 | 21 --mandir=/usr/share/man \ |
slaxemulator@7726 | 22 $CONFIGURE_ARGS && |
slaxemulator@7726 | 23 make && make DESTDIR=$PWD/_pkg install |
slaxemulator@7726 | 24 } |
slaxemulator@7726 | 25 |
slaxemulator@7726 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@7726 | 27 genpkg_rules() |
slaxemulator@7726 | 28 { |
slaxemulator@7726 | 29 mkdir -p $fs/usr/share |
slaxemulator@7726 | 30 cp -a $_pkg/usr/lib $fs/usr |
slaxemulator@7726 | 31 cp -a $_pkg/usr/share/pywebkitgtk $fs/usr/share |
slaxemulator@7726 | 32 } |
slaxemulator@7726 | 33 |