wok-6.x view python-zsi/receipt @ rev 25493
Add libgnt
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Nov 19 17:37:48 2022 +0000 (21 months ago) |
parents | 080c1dff8494 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="python-zsi"
4 SOURCE="ZSI"
5 VERSION="2.1-a1"
6 CATEGORY="development"
7 SHORT_DESC="The Zolera Soap Infrastructure for Python."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="BSD"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="https://pywebsvcs.sourceforge.net/zsi.html"
12 WGET_URL="$SF_MIRROR/project/pywebsvcs/$SOURCE/$SOURCE-${VERSION/-/_}/$TARBALL"
14 DEPENDS="python python-pyxml"
15 BUILD_DEPENDS="python-dev python-setuptools"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - https://sourceforge.net/projects/pywebsvcs/files/ZSI/ 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|.*/ZSI/ZSI-||;s|/.*||;s|_|-|;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 python setup.py build &&
29 python setup.py install --root=$DESTDIR
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs
36 cp -a $install/usr $fs
37 }