wok-6.x view python-simplejson/receipt @ rev 4680
Add: gkII (Tiny fractal program)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Dec 30 12:39:44 2009 +0100 (2009-12-30) |
parents | a5018f0d3122 |
children | cbe9266a164d |
line source
1 # SliTaz package receipt.
3 PACKAGE="python-simplejson"
4 SOURCE="simplejson"
5 VERSION="2.0.9"
6 CATEGORY="development"
7 SHORT_DESC="Simple, fast, extensible JSON encoder/decoder for python."
8 MAINTAINER="claudinei@slitaz.org"
9 TARBALL="$SOURCE-$VERSION.tar.gz"
10 WEB_SITE="http://pypi.python.org/pypi/simplejson"
11 WGET_URL="http://pypi.python.org/packages/source/s/$SOURCE/$TARBALL"
12 DEPENDS="python"
13 BUILD_DEPENDS="python-dev"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 python setup.py build
20 python setup.py install --root=$PWD/_pkg
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr
27 cp -a $_pkg/usr/lib $fs/usr
28 }
30 # Remove old package.
31 post_install()
32 {
33 rm -rf $1/var/lib/tazpkg/installed/simplejson
34 }