wok-6.x annotate python-pyyaml/receipt @ rev 11065
Up: awstats to 7.0.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Mon Oct 17 00:42:47 2011 +0000 (2011-10-17) |
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 } |