wok-4.x annotate simplejson/receipt @ rev 3091

locale-*: Dont source slitaz-18n file each time
author Christophe Lincoln <pankso@slitaz.org>
date Sat May 16 21:40:06 2009 +0200 (2009-05-16)
parents
children
rev   line source
claudinei@2896 1 # SliTaz package receipt.
claudinei@2896 2
claudinei@2896 3 PACKAGE="simplejson"
claudinei@2896 4 VERSION="2.0.9"
claudinei@2896 5 CATEGORY="development"
claudinei@2896 6 SHORT_DESC="Simple, fast, extensible JSON encoder/decoder for python."
claudinei@2896 7 MAINTAINER="claudinei@slitaz.org"
claudinei@2896 8 TARBALL="$PACKAGE-$VERSION.tar.gz"
claudinei@2896 9 WEB_SITE="http://pypi.python.org/pypi/simplejson"
claudinei@2896 10 WGET_URL="http://pypi.python.org/packages/source/s/$PACKAGE/$TARBALL"
claudinei@2896 11 DEPENDS="python"
claudinei@2896 12 BUILD_DEPENDS="python-dev"
claudinei@2896 13
claudinei@2896 14 # Rules to configure and make the package.
claudinei@2896 15 compile_rules()
claudinei@2896 16 {
claudinei@2896 17 cd $src
claudinei@2896 18 python setup.py build
claudinei@2896 19 python setup.py install --root=$PWD/_pkg
claudinei@2896 20 }
claudinei@2896 21
claudinei@2896 22 # Rules to gen a SliTaz package suitable for Tazpkg.
claudinei@2896 23 genpkg_rules()
claudinei@2896 24 {
claudinei@2896 25 mkdir -p $fs/usr
claudinei@2896 26 cp -a $_pkg/usr/lib $fs/usr
claudinei@2896 27 }
claudinei@2896 28