wok annotate python-zsi/receipt @ rev 25475
openjdk-6-src: find output to variable
author | Hans-G?nter Theisgen |
---|---|
date | Thu Oct 13 17:05:46 2022 +0100 (2022-10-13) |
parents | 080c1dff8494 |
children | 29df00e1e19d |
rev | line source |
---|---|
pascal@11727 | 1 # SliTaz package receipt. |
pascal@11727 | 2 |
pascal@11727 | 3 PACKAGE="python-zsi" |
pascal@11727 | 4 SOURCE="ZSI" |
pascal@11727 | 5 VERSION="2.1-a1" |
pascal@11727 | 6 CATEGORY="development" |
pascal@11727 | 7 SHORT_DESC="The Zolera Soap Infrastructure for Python." |
pascal@11727 | 8 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15376 | 9 LICENSE="BSD" |
pascal@11727 | 10 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@25465 | 11 WEB_SITE="https://pywebsvcs.sourceforge.net/zsi.html" |
pascal@11727 | 12 WGET_URL="$SF_MIRROR/project/pywebsvcs/$SOURCE/$SOURCE-${VERSION/-/_}/$TARBALL" |
pascal@11727 | 13 |
pascal@11727 | 14 DEPENDS="python python-pyxml" |
pascal@22428 | 15 BUILD_DEPENDS="python-dev python-setuptools" |
pascal@11727 | 16 |
pascal@24396 | 17 # What is the latest version available today? |
pascal@24396 | 18 current_version() |
pascal@24396 | 19 { |
pascal@24396 | 20 wget -O - https://sourceforge.net/projects/pywebsvcs/files/ZSI/ 2>/dev/null | \ |
pascal@24396 | 21 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ |
pascal@24396 | 22 sed '/scope="row/!d;s|.*/ZSI/ZSI-||;s|/.*||;s|_|-|;q' |
pascal@24396 | 23 } |
pascal@24396 | 24 |
pascal@11727 | 25 # Rules to configure and make the package. |
pascal@11727 | 26 compile_rules() |
pascal@11727 | 27 { |
pascal@11727 | 28 python setup.py build && |
pascal@11727 | 29 python setup.py install --root=$DESTDIR |
pascal@11727 | 30 } |
pascal@11727 | 31 |
pascal@11727 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11727 | 33 genpkg_rules() |
pascal@11727 | 34 { |
pascal@11727 | 35 mkdir -p $fs |
pascal@15376 | 36 cp -a $install/usr $fs |
pascal@11727 | 37 } |