wok-6.x view simplejson/receipt @ rev 2896

Add: simplejson (python library)
author Claudinei Pereira <claudinei@slitaz.org>
date Tue May 05 04:02:05 2009 +0000 (2009-05-05)
parents
children
line source
1 # SliTaz package receipt.
3 PACKAGE="simplejson"
4 VERSION="2.0.9"
5 CATEGORY="development"
6 SHORT_DESC="Simple, fast, extensible JSON encoder/decoder for python."
7 MAINTAINER="claudinei@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://pypi.python.org/pypi/simplejson"
10 WGET_URL="http://pypi.python.org/packages/source/s/$PACKAGE/$TARBALL"
11 DEPENDS="python"
12 BUILD_DEPENDS="python-dev"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 python setup.py build
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/lib $fs/usr
27 }