wok annotate pywebkitgtk/receipt @ rev 25510
Update some web_site
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Feb 12 20:36:56 2023 +0000 (19 months ago) |
parents | 0f92b8cc8086 |
children |
rev | line source |
---|---|
slaxemulator@7726 | 1 # SliTaz package receipt. |
slaxemulator@7726 | 2 |
slaxemulator@7726 | 3 PACKAGE="pywebkitgtk" |
Hans-G?nter@25254 | 4 VERSION="1.1.8" |
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" |
pascal@20687 | 9 WEB_SITE="https://wiki.python.org/moin/PyWebkitGtk" |
Hans-G?nter@25254 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@24982 | 11 WGET_URL="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/$PACKAGE/$TARBALL" |
slaxemulator@7726 | 12 |
Hans-G?nter@25254 | 13 DEPENDS="libwebkit libxml2 libxslt pygtk" |
Hans-G?nter@25254 | 14 BUILD_DEPENDS="libwebkit-dev libxml2-dev libxslt-dev pygtk-dev python-dev |
Hans-G?nter@25254 | 15 util-linux-uuid-dev pkg-config" |
Hans-G?nter@25254 | 16 |
pascal@24545 | 17 # What is the latest version available today? |
pascal@24545 | 18 current_version() |
pascal@24545 | 19 { |
pascal@24545 | 20 wget -O - https://github.com/jmalonzo/pywebkitgtk/tags 2>/dev/null | \ |
pascal@24545 | 21 sed '/archive.*tar/!d;s|.*/[A-Z_]*\(.*\).tar.*|\1|;s|_|.|g;q' |
pascal@24545 | 22 } |
pascal@24545 | 23 |
slaxemulator@7726 | 24 # Rules to configure and make the package. |
slaxemulator@7726 | 25 compile_rules() |
slaxemulator@7726 | 26 { |
Hans-G?nter@25254 | 27 ./configure \ |
Hans-G?nter@25254 | 28 --prefix=/usr \ |
Hans-G?nter@25254 | 29 --infodir=/usr/share/info \ |
Hans-G?nter@25254 | 30 --mandir=/usr/share/man \ |
slaxemulator@7726 | 31 $CONFIGURE_ARGS && |
Hans-G?nter@25254 | 32 make && |
Hans-G?nter@25254 | 33 make install DESTDIR=$DESTDIR |
slaxemulator@7726 | 34 } |
slaxemulator@7726 | 35 |
slaxemulator@7726 | 36 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@7726 | 37 genpkg_rules() |
slaxemulator@7726 | 38 { |
slaxemulator@7726 | 39 mkdir -p $fs/usr/share |
Hans-G?nter@25254 | 40 |
Hans-G?nter@25254 | 41 cp -a $install/usr/lib $fs/usr |
Hans-G?nter@25254 | 42 cp -a $install/usr/share/pywebkitgtk $fs/usr/share |
slaxemulator@7726 | 43 } |