wok-next annotate python-pyyaml/receipt @ rev 17752
mp3info: link with libtinfo
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Mar 09 08:48:25 2015 +0100 (2015-03-09) |
parents | dd901df89562 |
children | 7390f8de9846 |
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" |
pascal@15378 | 8 LICENSE="MIT" |
rocky@3575 | 9 SOURCE="PyYAML" |
rocky@3575 | 10 TARBALL="$SOURCE-$VERSION.tar.gz" |
rocky@3575 | 11 WEB_SITE="http://pyyaml.org/wiki/PyYAML/" |
rocky@3575 | 12 WGET_URL="http://pyyaml.org/download/pyyaml/$TARBALL" |
rocky@3575 | 13 |
pascal@15092 | 14 DEPENDS="python" |
pascal@15092 | 15 BUILD_DEPENDS="python python-dev yaml-dev" |
pascal@15092 | 16 |
rocky@3575 | 17 # Rules to configure and make the package. |
rocky@3575 | 18 compile_rules() |
rocky@3575 | 19 { |
rocky@3575 | 20 cd $src |
pascal@15092 | 21 python setup.py install --root=$DESTDIR |
rocky@3575 | 22 } |
rocky@3575 | 23 |
rocky@3575 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
rocky@3575 | 25 genpkg_rules() |
rocky@3575 | 26 { |
rocky@3575 | 27 mkdir -p $fs/usr |
pascal@15092 | 28 cp -a $install/usr $fs |
rocky@3575 | 29 } |