wok view simplejson/receipt @ rev 3082
Up: slitaz-configs (3.0)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri May 15 23:31:04 2009 +0200 (2009-05-15) |
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 }