wok-next annotate zopeinterface/receipt @ rev 16491
ARM: add mercurial with a fancy compile hack \o/
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Apr 23 14:37:13 2014 +0200 (2014-04-23) |
parents | 4d290a491622 |
children | 7390f8de9846 |
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@2147 | 18 # Rules to configure and make the package. |
pascal@2147 | 19 compile_rules() |
pascal@2147 | 20 { |
pascal@2147 | 21 cd $src |
pascal@15361 | 22 python setup.py build && python setup.py install --root=$DESTDIR |
pascal@2147 | 23 } |
pascal@2147 | 24 |
pascal@2147 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@2147 | 26 genpkg_rules() |
pascal@2147 | 27 { |
pascal@15361 | 28 cp -a $install/usr $fs |
pascal@2147 | 29 } |
pascal@2147 | 30 |