wok-current annotate python-pyyaml/receipt @ rev 4057
Up: pidgin (2.6.2)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Sep 09 23:23:01 2009 +0200 (2009-09-09) |
parents | |
children | dd901df89562 |
rev | line source |
---|---|
rocky@3575 | 1 # SliTaz package receipt. |
rocky@3575 | 2 |
rocky@3575 | 3 PACKAGE="python-pyyaml" |
rocky@3575 | 4 VERSION="3.08" |
rocky@3575 | 5 CATEGORY="development" |
rocky@3575 | 6 SHORT_DESC="YAML parser and emitter for the Python programming language." |
rocky@3575 | 7 MAINTAINER="rocky@slitaz.org" |
rocky@3575 | 8 SOURCE="PyYAML" |
rocky@3575 | 9 DEPENDS="python" |
rocky@3575 | 10 BUILD_DEPENDS="python python-dev" |
rocky@3575 | 11 TARBALL="$SOURCE-$VERSION.tar.gz" |
rocky@3575 | 12 WEB_SITE="http://pyyaml.org/wiki/PyYAML/" |
rocky@3575 | 13 WGET_URL="http://pyyaml.org/download/pyyaml/$TARBALL" |
rocky@3575 | 14 |
rocky@3575 | 15 # Rules to configure and make the package. |
rocky@3575 | 16 compile_rules() |
rocky@3575 | 17 { |
rocky@3575 | 18 cd $src |
rocky@3575 | 19 python setup.py install --root=$PWD/_pkg |
rocky@3575 | 20 } |
rocky@3575 | 21 |
rocky@3575 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
rocky@3575 | 23 genpkg_rules() |
rocky@3575 | 24 { |
rocky@3575 | 25 mkdir -p $fs/usr |
rocky@3575 | 26 cp -a $_pkg/usr $fs |
rocky@3575 | 27 } |