wok view pywebkitgtk/receipt @ rev 24888
grub2: avoid grub-mkimage error: decompressor is too big
author | Hans-G?nter Theisgen |
---|---|
date | Sat Apr 02 17:25:58 2022 +0100 (2022-04-02) |
parents | 04434444ef20 |
children | 0f92b8cc8086 |
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="http://pywebkitgtk.googlecode.com/files/$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 }