wok view 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
line source
1 # SliTaz package receipt.
3 PACKAGE="python-pyyaml"
4 VERSION="3.08"
5 CATEGORY="development"
6 SHORT_DESC="YAML parser and emitter for the Python programming language."
7 MAINTAINER="rocky@slitaz.org"
8 SOURCE="PyYAML"
9 TARBALL="$SOURCE-$VERSION.tar.gz"
10 WEB_SITE="http://pyyaml.org/wiki/PyYAML/"
11 WGET_URL="http://pyyaml.org/download/pyyaml/$TARBALL"
13 DEPENDS="python"
14 BUILD_DEPENDS="python python-dev yaml-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 python setup.py install --root=$DESTDIR
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr
27 cp -a $install/usr $fs
28 }