wok-current view pywebkitgtk/receipt @ rev 25146
updated portaudio and portaudio-dev (190600_20161030 -> 19.7.0)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jun 29 15:26:46 2022 +0100 (2022-06-29) |
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 }