wok-current annotate jtoolkit/receipt @ rev 24906

updated minidlna (1.2.1 -> 1.3.0)
author Hans-G?nter Theisgen
date Sat Apr 09 14:37:52 2022 +0100 (2022-04-09)
parents 16df76e1fc6a
children 7dd01dedad38
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"
pankso@3170 11 WEB_SITE="http://$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@24412 21 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;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 }