wok-6.x view python-pyyaml/receipt @ rev 8301

Fix: shared-mime-info now take care of --root= option
author Antoine Bodin <gokhlayeh@slitaz.org>
date Tue Feb 01 02:50:01 2011 +0100 (2011-02-01)
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 }