# HG changeset patch # User Claudinei Pereira # Date 1241496125 0 # Node ID 0094a94f69423f61185e1eac7ed7809c8d2bf67d # Parent 9eb980078957df7a98a11f09303c28982a4e1770 Add: simplejson (python library) diff -r 9eb980078957 -r 0094a94f6942 simplejson/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/simplejson/receipt Tue May 05 04:02:05 2009 +0000 @@ -0,0 +1,28 @@ +# SliTaz package receipt. + +PACKAGE="simplejson" +VERSION="2.0.9" +CATEGORY="development" +SHORT_DESC="Simple, fast, extensible JSON encoder/decoder for python." +MAINTAINER="claudinei@slitaz.org" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="http://pypi.python.org/pypi/simplejson" +WGET_URL="http://pypi.python.org/packages/source/s/$PACKAGE/$TARBALL" +DEPENDS="python" +BUILD_DEPENDS="python-dev" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + python setup.py build + 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/lib $fs/usr +} +