wok-next annotate python-distribute/receipt @ rev 15902
Add ms-sys
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Feb 13 21:27:14 2014 +0000 (2014-02-13) |
parents | 96be8cdaf5bf |
children | 7d672a2330b8 |
rev | line source |
---|---|
slaxemulator@11402 | 1 # SliTaz package receipt. |
slaxemulator@11402 | 2 |
slaxemulator@11402 | 3 PACKAGE="python-distribute" |
slaxemulator@15843 | 4 VERSION="0.6.49" |
slaxemulator@11402 | 5 CATEGORY="development" |
slaxemulator@11402 | 6 SHORT_DESC="Easily build and distribute Python packages" |
slaxemulator@11402 | 7 MAINTAINER="slaxemulator@gmail.com" |
pascal@15378 | 8 LICENSE="PSL" |
slaxemulator@11402 | 9 WEB_SITE="http://pypi.python.org/pypi/distribute" |
slaxemulator@11402 | 10 SOURCE="distribute" |
slaxemulator@11402 | 11 TARBALL="$SOURCE-$VERSION.tar.gz" |
slaxemulator@15846 | 12 WGET_URL="https://pypi.python.org/packages/source/d/distribute/$TARBALL" |
slaxemulator@11402 | 13 |
slaxemulator@11402 | 14 DEPENDS="python" |
slaxemulator@15846 | 15 BUILD_DEPENDS="python-dev wget" |
slaxemulator@11402 | 16 |
slaxemulator@11402 | 17 # Rules to configure and make the package. |
slaxemulator@11402 | 18 compile_rules() |
slaxemulator@11402 | 19 { |
slaxemulator@11402 | 20 cd $src |
slaxemulator@11402 | 21 python setup.py install --prefix=/usr --root=$DESTDIR |
slaxemulator@11402 | 22 } |
slaxemulator@11402 | 23 |
slaxemulator@11402 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@11402 | 25 genpkg_rules() |
slaxemulator@11402 | 26 { |
slaxemulator@11402 | 27 cp -a $install/* $fs |
slaxemulator@11402 | 28 } |