wok-next view python-simplejson/receipt @ rev 16275

Up: mercurial (2.9.2)
author Alexander Medvedev <devl547@gmail.com>
date Sat Apr 05 21:35:36 2014 +0000 (2014-04-05)
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 }