wok view python-pyyaml/receipt @ rev 16693

slitaz-icon: workaround tarball
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri May 23 05:21:33 2014 +0300 (2014-05-23)
parents dd901df89562
children 7390f8de9846
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 LICENSE="MIT"
9 SOURCE="PyYAML"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="http://pyyaml.org/wiki/PyYAML/"
12 WGET_URL="http://pyyaml.org/download/pyyaml/$TARBALL"
14 DEPENDS="python"
15 BUILD_DEPENDS="python python-dev yaml-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 python setup.py install --root=$DESTDIR
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr
28 cp -a $install/usr $fs
29 }