wok-next annotate setuptools/receipt @ rev 15918
Up: slitaz-boot-scripts (5.4.1) Bug fix
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun Feb 16 19:43:02 2014 +0100 (2014-02-16) |
parents | b4de8eb78082 |
children | 7d672a2330b8 |
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@15590 | 8 LICENSE="PSL" |
pascal@1332 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@1332 | 10 WEB_SITE="http://pypi.python.org/pypi/setuptools" |
pascal@1332 | 11 WGET_URL="http://pypi.python.org/packages/source/s/setuptools/$TARBALL" |
claudinei@3225 | 12 DEPENDS="python python-dev" |
pascal@1511 | 13 BUILD_DEPENDS="python python-dev" |
pascal@1332 | 14 |
pascal@1332 | 15 # Rules to configure and make the package. |
pascal@1332 | 16 compile_rules() |
pascal@1332 | 17 { |
pascal@1332 | 18 cd $src |
pascal@1511 | 19 python setup.py build && |
pascal@15590 | 20 python setup.py install --root=$DESTDIR |
pascal@1332 | 21 } |
pascal@1332 | 22 |
pascal@1332 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1332 | 24 genpkg_rules() |
pascal@1332 | 25 { |
pascal@15590 | 26 cp -a $install/usr $fs |
pascal@1332 | 27 } |
pascal@1332 | 28 |