wok view python-simplejson/receipt @ rev 15415

Up: thunderbird-langpack-en_GB (17.0.9esr)
author Dominique Corbex <domcox@slitaz.org>
date Sun Nov 03 21:52:36 2013 +0100 (2013-11-03)
parents 53f06e703bed
children 048c66ed11ec
line source
1 # SliTaz package receipt.
3 PACKAGE="python-simplejson"
4 SOURCE="simplejson"
5 VERSION="2.1.1"
6 CATEGORY="development"
7 SHORT_DESC="Simple, fast, extensible JSON encoder/decoder for python."
8 MAINTAINER="claudinei@slitaz.org"
9 LICENSE="MIT"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="http://pypi.python.org/pypi/simplejson"
12 WGET_URL="http://pypi.python.org/packages/source/s/$SOURCE/$TARBALL"
14 DEPENDS="python"
15 BUILD_DEPENDS="python-dev setuptools"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 python setup.py build
22 python setup.py install --root=$DESTDIR
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr
29 cp -a $install/usr/lib $fs/usr
30 }
32 # Remove old package.
33 post_install()
34 {
35 rm -rf $1/var/lib/tazpkg/installed/simplejson
36 }