# HG changeset patch # User Liu Peng # Date 1245979030 0 # Node ID 36d46c4dcee0f7498d1fb638a85e4329a0dfddab # Parent 1794ce6253589ceeecc1f1925fc3cb0bb1c135ca Add python-pyyaml diff -r 1794ce625358 -r 36d46c4dcee0 python-pyyaml/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/python-pyyaml/receipt Fri Jun 26 01:17:10 2009 +0000 @@ -0,0 +1,27 @@ +# SliTaz package receipt. + +PACKAGE="python-pyyaml" +VERSION="3.08" +CATEGORY="development" +SHORT_DESC="YAML parser and emitter for the Python programming language." +MAINTAINER="rocky@slitaz.org" +SOURCE="PyYAML" +DEPENDS="python" +BUILD_DEPENDS="python python-dev" +TARBALL="$SOURCE-$VERSION.tar.gz" +WEB_SITE="http://pyyaml.org/wiki/PyYAML/" +WGET_URL="http://pyyaml.org/download/pyyaml/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + python setup.py install --root=$PWD/_pkg +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr + cp -a $_pkg/usr $fs +}