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

[q-z]*: use veriable
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Mar 02 11:06:20 2011 +0100 (2011-03-02)
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 }