wok view simplejson/receipt @ rev 3074

linux-source: do not always build on upgrade
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu May 14 11:28:15 2009 +0200 (2009-05-14)
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 }