wok annotate pywebkitgtk/receipt @ rev 24599
updated giac (1.5.0.85 -> 1.7.0.47)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Mar 02 07:39:53 2022 +0100 (2022-03-02) |
parents | 04434444ef20 |
children | 0f92b8cc8086 |
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 |
pascal@24545 | 16 # What is the latest version available today? |
pascal@24545 | 17 current_version() |
pascal@24545 | 18 { |
pascal@24545 | 19 wget -O - https://github.com/jmalonzo/pywebkitgtk/tags 2>/dev/null | \ |
pascal@24545 | 20 sed '/archive.*tar/!d;s|.*/[A-Z_]*\(.*\).tar.*|\1|;s|_|.|g;q' |
pascal@24545 | 21 } |
pascal@24545 | 22 |
slaxemulator@7726 | 23 # Rules to configure and make the package. |
slaxemulator@7726 | 24 compile_rules() |
slaxemulator@7726 | 25 { |
slaxemulator@7726 | 26 cd $src |
slaxemulator@7726 | 27 ./configure \ |
slaxemulator@7726 | 28 --prefix=/usr \ |
slaxemulator@7726 | 29 --infodir=/usr/share/info \ |
slaxemulator@7726 | 30 --mandir=/usr/share/man \ |
slaxemulator@7726 | 31 $CONFIGURE_ARGS && |
pascal@15004 | 32 make && make DESTDIR=$DESTDIR install |
slaxemulator@7726 | 33 } |
slaxemulator@7726 | 34 |
slaxemulator@7726 | 35 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@7726 | 36 genpkg_rules() |
slaxemulator@7726 | 37 { |
slaxemulator@7726 | 38 mkdir -p $fs/usr/share |
pascal@15004 | 39 cp -a $install/usr/lib $fs/usr |
pascal@15004 | 40 cp -a $install/usr/share/pywebkitgtk $fs/usr/share |
slaxemulator@7726 | 41 } |
slaxemulator@7726 | 42 |