# SliTaz package receipt. PACKAGE="python-simplejson" SOURCE="simplejson" VERSION="2.1.1" CATEGORY="development" SHORT_DESC="Simple, fast, extensible JSON encoder/decoder for python." MAINTAINER="claudinei@slitaz.org" TARBALL="$SOURCE-$VERSION.tar.gz" WEB_SITE="http://pypi.python.org/pypi/simplejson" WGET_URL="http://pypi.python.org/packages/source/s/$SOURCE/$TARBALL" DEPENDS="python" BUILD_DEPENDS="python-dev setuptools" # Rules to configure and make the package. compile_rules() { cd $src python setup.py build python setup.py install --root=$PWD/_pkg } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr cp -a $_pkg/usr/lib $fs/usr } # Remove old package. post_install() { rm -rf $1/var/lib/tazpkg/installed/simplejson }