wok annotate python-pyyaml/receipt @ rev 20242
Up pgrouting
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Mar 10 09:52:05 2018 +0100 (2018-03-10) |
parents | fd4f1e692109 |
children | 6e8b1bcb30e2 |
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 { |
al@18086 | 20 python setup.py install --root=$DESTDIR |
rocky@3575 | 21 } |
rocky@3575 | 22 |
rocky@3575 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
rocky@3575 | 24 genpkg_rules() |
rocky@3575 | 25 { |
al@18086 | 26 mkdir -p $fs/usr |
al@18086 | 27 cp -a $install/usr $fs |
rocky@3575 | 28 } |