wok-current view 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 |
line source
1 # SliTaz package receipt.
3 PACKAGE="jtoolkit"
4 VERSION="0.7.8"
5 CATEGORY="system-tools"
6 SHORT_DESC="Python web application framework built on modpython and Apache."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 SOURCE="jToolkit"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="http://$PACKAGE.sourceforge.net/"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 DEPENDS="python"
15 BUILD_DEPENDS="python-dev"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - https://sourceforge.net/projects/jtoolkit/files/jtoolkit/ 2>/dev/null | \
21 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
22 sed '/scope="row/!d;s|.*/jtoolkit/||;s|/.*||;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 python jToolkitSetup.py install --root=$DESTDIR
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr
35 cp -a $install/usr/lib $fs/usr
36 }