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"
|
pascal@15004
|
8 LICENSE="LGPL2"
|
slaxemulator@7726
|
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
|
pascal@20687
|
10 WEB_SITE="https://wiki.python.org/moin/PyWebkitGtk"
|
slaxemulator@7726
|
11 WGET_URL="http://pywebkitgtk.googlecode.com/files/$TARBALL"
|
slaxemulator@7726
|
12
|
pascal@15004
|
13 DEPENDS="libwebkit pygtk libxslt"
|
pascal@15004
|
14 BUILD_DEPENDS="libwebkit-dev pygtk-dev libxslt-dev python-dev util-linux-uuid-dev pkg-config"
|
pascal@15004
|
15
|
slaxemulator@7726
|
16 # Rules to configure and make the package.
|
slaxemulator@7726
|
17 compile_rules()
|
slaxemulator@7726
|
18 {
|
slaxemulator@7726
|
19 cd $src
|
slaxemulator@7726
|
20 ./configure \
|
slaxemulator@7726
|
21 --prefix=/usr \
|
slaxemulator@7726
|
22 --infodir=/usr/share/info \
|
slaxemulator@7726
|
23 --mandir=/usr/share/man \
|
slaxemulator@7726
|
24 $CONFIGURE_ARGS &&
|
pascal@15004
|
25 make && make DESTDIR=$DESTDIR install
|
slaxemulator@7726
|
26 }
|
slaxemulator@7726
|
27
|
slaxemulator@7726
|
28 # Rules to gen a SliTaz package suitable for Tazpkg.
|
slaxemulator@7726
|
29 genpkg_rules()
|
slaxemulator@7726
|
30 {
|
slaxemulator@7726
|
31 mkdir -p $fs/usr/share
|
pascal@15004
|
32 cp -a $install/usr/lib $fs/usr
|
pascal@15004
|
33 cp -a $install/usr/share/pywebkitgtk $fs/usr/share
|
slaxemulator@7726
|
34 }
|
slaxemulator@7726
|
35
|