wok-stable view python-pyyaml/receipt @ rev 7620

Add caps
author Paul Issott <paul@slitaz.org>
date Sun Dec 12 17:10:44 2010 +0000 (2010-12-12)
parents
children
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 DEPENDS="python"
10 BUILD_DEPENDS="python python-dev"
11 TARBALL="$SOURCE-$VERSION.tar.gz"
12 WEB_SITE="http://pyyaml.org/wiki/PyYAML/"
13 WGET_URL="http://pyyaml.org/download/pyyaml/$TARBALL"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 python setup.py install --root=$PWD/_pkg
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 mkdir -p $fs/usr
26 cp -a $_pkg/usr $fs
27 }