# HG changeset patch # User Christophe Lincoln # Date 1300470862 -3600 # Node ID 528eda6325e51bd990f1cf79d36a541063f17714 # Parent 0c90dea68e8d9e5bcaec046d266095610776e1cf Add python-cython diff -r 0c90dea68e8d -r 528eda6325e5 python-cython/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/python-cython/receipt Fri Mar 18 18:54:22 2011 +0100 @@ -0,0 +1,28 @@ +# SliTaz package receipt. + +PACKAGE="python-cython" +VERSION="0.14.1" +CATEGORY="development" +SHORT_DESC="Language to write C extensions for Python." +MAINTAINER="pankso@slitaz.org" +SOURCE="Cython" +TARBALL="$SOURCE-$VERSION.tar.gz" +WEB_SITE="http://cython.org/" +WGET_URL="http://cython.org/release/$TARBALL" +DEPENDS="python" +BUILD_DEPENDS="$DEPENDS python-dev" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + python setup.py build && + python setup.py install --root=$WOK/$PACKAGE/install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs + cp -a $_pkg/usr $fs +}