wok view pywebkitgtk/receipt @ rev 25632

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