wok-6.x annotate zopeinterface/receipt @ rev 25528
try building libluv again
author | Hans-G?nter Theisgen |
---|---|
date | Sat Feb 25 10:11:09 2023 +0100 (21 months ago) |
parents | 922f061231c2 |
children |
rev | line source |
---|---|
pascal@2147 | 1 # SliTaz package receipt. |
pascal@2147 | 2 |
pascal@2147 | 3 PACKAGE="zopeinterface" |
slaxemulator@15847 | 4 VERSION="4.0.5" |
pascal@2147 | 5 CATEGORY="network" |
slaxemulator@15847 | 6 SHORT_DESC="Zope 4 Interface Infrastructure." |
pascal@2147 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15361 | 8 LICENSE="other" |
pascal@2147 | 9 SOURCE="zope.interface" |
slaxemulator@15847 | 10 TARBALL="$SOURCE-$VERSION.zip" |
slaxemulator@15847 | 11 WEB_SITE="https://pypi.python.org/pypi/zope.interface" |
slaxemulator@15847 | 12 WGET_URL="https://pypi.python.org/packages/source/z/$SOURCE/$TARBALL" |
pascal@15361 | 13 TAGS="webserver application-server appserver" |
pascal@15361 | 14 |
pascal@2147 | 15 DEPENDS="python" |
slaxemulator@15850 | 16 BUILD_DEPENDS="python python-dev wget" |
pascal@2147 | 17 |
pascal@24304 | 18 # What is the latest version available today? |
pascal@24304 | 19 current_version() |
pascal@24304 | 20 { |
pascal@24384 | 21 wget -O - $WEB_SITE 2>/dev/null | sed "/ $SOURCE /!d;s|.*$SOURCE ||;s|<.*||;q" |
pascal@24304 | 22 } |
pascal@24304 | 23 |
pascal@2147 | 24 # Rules to configure and make the package. |
pascal@2147 | 25 compile_rules() |
pascal@2147 | 26 { |
pascal@15361 | 27 python setup.py build && python setup.py install --root=$DESTDIR |
pascal@2147 | 28 } |
pascal@2147 | 29 |
pascal@2147 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@2147 | 31 genpkg_rules() |
pascal@2147 | 32 { |
pascal@15361 | 33 cp -a $install/usr $fs |
pascal@2147 | 34 } |