wok annotate python-pyyaml/receipt @ rev 15146

cocoalib: create Makefile_dependencies (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Aug 15 12:56:59 2013 +0000 (2013-08-15)
parents 36d46c4dcee0
children fd4f1e692109
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 TARBALL="$SOURCE-$VERSION.tar.gz"
rocky@3575 10 WEB_SITE="http://pyyaml.org/wiki/PyYAML/"
rocky@3575 11 WGET_URL="http://pyyaml.org/download/pyyaml/$TARBALL"
rocky@3575 12
pascal@15092 13 DEPENDS="python"
pascal@15092 14 BUILD_DEPENDS="python python-dev yaml-dev"
pascal@15092 15
rocky@3575 16 # Rules to configure and make the package.
rocky@3575 17 compile_rules()
rocky@3575 18 {
rocky@3575 19 cd $src
pascal@15092 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 {
rocky@3575 26 mkdir -p $fs/usr
pascal@15092 27 cp -a $install/usr $fs
rocky@3575 28 }