wok-next view python-pyyaml/receipt @ rev 12097

Add: sarg-php
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Sun Mar 11 02:33:09 2012 +0100 (2012-03-11)
parents
children dd901df89562
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 }