wok-next annotate setuptools/receipt @ rev 12219
Up: cookutils (1.8) Lots of fixes and improvments
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu Apr 05 13:42:18 2012 +0200 (2012-04-05) |
parents | 1d3c2a6a390f |
children | 600aaedb561d |
rev | line source |
---|---|
pascal@1332 | 1 # SliTaz package receipt. |
pascal@1332 | 2 |
pascal@1332 | 3 PACKAGE="setuptools" |
slaxemulator@6449 | 4 VERSION="0.6c11" |
pascal@1332 | 5 CATEGORY="misc" |
pascal@1332 | 6 SHORT_DESC="Python package installation tool." |
pascal@1332 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@1332 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@1332 | 9 WEB_SITE="http://pypi.python.org/pypi/setuptools" |
pascal@1332 | 10 WGET_URL="http://pypi.python.org/packages/source/s/setuptools/$TARBALL" |
claudinei@3225 | 11 DEPENDS="python python-dev" |
pascal@1511 | 12 BUILD_DEPENDS="python python-dev" |
pascal@1332 | 13 |
pascal@1332 | 14 # Rules to configure and make the package. |
pascal@1332 | 15 compile_rules() |
pascal@1332 | 16 { |
pascal@1332 | 17 cd $src |
pascal@1511 | 18 python setup.py build && |
pascal@1332 | 19 python setup.py install --root=$PWD/_pkg |
pascal@1332 | 20 } |
pascal@1332 | 21 |
pascal@1332 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1332 | 23 genpkg_rules() |
pascal@1332 | 24 { |
pascal@1332 | 25 cp -a $_pkg/usr $fs |
pascal@1332 | 26 } |
pascal@1332 | 27 |