wok-current view pywebkitgtk/receipt @ rev 25104
Up klavaro (1.2.2)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jun 22 08:45:04 2022 +0000 (2022-06-22) |
parents | b9659e3c2111 |
children | 5ca5ccbc0ce5 |
line source
1 # SliTaz package receipt.
3 PACKAGE="pywebkitgtk"
4 VERSION="1.1.7"
5 CATEGORY="development"
6 SHORT_DESC="Python bindings to the Webkit GTK+ port."
7 MAINTAINER="slaxemulator@gmail.com"
8 LICENSE="LGPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://wiki.python.org/moin/PyWebkitGtk"
11 WGET_URL="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/$PACKAGE/$TARBALL"
13 DEPENDS="libwebkit pygtk libxslt"
14 BUILD_DEPENDS="libwebkit-dev pygtk-dev libxslt-dev python-dev util-linux-uuid-dev pkg-config"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - https://github.com/jmalonzo/pywebkitgtk/tags 2>/dev/null | \
20 sed '/archive.*tar/!d;s|.*/[A-Z_]*\(.*\).tar.*|\1|;s|_|.|g;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 cd $src
27 ./configure \
28 --prefix=/usr \
29 --infodir=/usr/share/info \
30 --mandir=/usr/share/man \
31 $CONFIGURE_ARGS &&
32 make && make DESTDIR=$DESTDIR install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr/share
39 cp -a $install/usr/lib $fs/usr
40 cp -a $install/usr/share/pywebkitgtk $fs/usr/share
41 }