wok annotate jtoolkit/receipt @ rev 25606
Update some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jul 19 11:40:29 2023 +0000 (16 months ago) |
parents | 7dd01dedad38 |
children |
rev | line source |
---|---|
pankso@3170 | 1 # SliTaz package receipt. |
pankso@3170 | 2 |
pankso@3170 | 3 PACKAGE="jtoolkit" |
pankso@3170 | 4 VERSION="0.7.8" |
pankso@3170 | 5 CATEGORY="system-tools" |
pankso@3170 | 6 SHORT_DESC="Python web application framework built on modpython and Apache." |
pankso@3170 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15601 | 8 LICENSE="GPL2" |
pankso@3170 | 9 SOURCE="jToolkit" |
pankso@3170 | 10 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@25460 | 11 WEB_SITE="https://$PACKAGE.sourceforge.net/" |
pankso@3170 | 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pankso@3170 | 13 |
pascal@15601 | 14 DEPENDS="python" |
pascal@15601 | 15 BUILD_DEPENDS="python-dev" |
pascal@15601 | 16 |
pascal@24412 | 17 # What is the latest version available today? |
pascal@24412 | 18 current_version() |
pascal@24412 | 19 { |
pascal@24412 | 20 wget -O - https://sourceforge.net/projects/jtoolkit/files/jtoolkit/ 2>/dev/null | \ |
pascal@25606 | 21 sed '/scope="row/!d;s|.*a href="|"https://sourceforge.net|;s| .*||;q' | xargs wget -O - 2>/dev/null | \ |
pascal@24412 | 22 sed '/scope="row/!d;s|.*/jtoolkit/||;s|/.*||;q' |
pascal@24412 | 23 } |
pascal@24412 | 24 |
pankso@3170 | 25 # Rules to configure and make the package. |
pankso@3170 | 26 compile_rules() |
pankso@3170 | 27 { |
al@18077 | 28 python jToolkitSetup.py install --root=$DESTDIR |
pankso@3170 | 29 } |
pankso@3170 | 30 |
pankso@3170 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@3170 | 32 genpkg_rules() |
pankso@3170 | 33 { |
al@18077 | 34 mkdir -p $fs/usr |
al@18077 | 35 cp -a $install/usr/lib $fs/usr |
pankso@3170 | 36 } |