wok-next annotate python-pychart/receipt @ rev 5157

Up: tazlito (3.1) Small fixes and improvment
author Christophe Lincoln <pankso@slitaz.org>
date Wed Mar 24 21:07:52 2010 +0100 (2010-03-24)
parents
children fd4f1e692109
rev   line source
claudinei@3419 1 # SliTaz package receipt.
claudinei@3419 2
claudinei@3419 3 PACKAGE="python-pychart"
claudinei@3419 4 VERSION="1.39"
claudinei@3419 5 CATEGORY="development"
claudinei@3419 6 SHORT_DESC="Python library for creating EPS, PDF, PNG or SVG."
claudinei@3419 7 MAINTAINER="pascal.bellard@slitaz.org"
claudinei@3419 8 SOURCE="PyChart"
claudinei@3419 9 TARBALL="$SOURCE-$VERSION.tar.gz"
claudinei@3419 10 WEB_SITE="http://home.gna.org/pychart/"
claudinei@3419 11 WGET_URL="http://download.gna.org/pychart/$TARBALL"
claudinei@3419 12 DEPENDS="python"
claudinei@3419 13
claudinei@3419 14 # Rules to configure and make the package.
claudinei@3419 15 compile_rules()
claudinei@3419 16 {
claudinei@3419 17 cd $src
claudinei@3419 18 python setup.py build
claudinei@3419 19 python setup.py install --root=$PWD/_pkg
claudinei@3419 20 }
claudinei@3419 21
claudinei@3419 22 # Rules to gen a SliTaz package suitable for Tazpkg.
claudinei@3419 23 genpkg_rules()
claudinei@3419 24 {
claudinei@3419 25 mkdir -p $fs
claudinei@3419 26 cp -a $_pkg/usr $fs
claudinei@3419 27 }
claudinei@3419 28
claudinei@3419 29 # Remove old package.
claudinei@3419 30 post_install()
claudinei@3419 31 {
claudinei@3419 32 rm -rf $1/var/lib/tazpkg/installed/pychart
claudinei@3419 33 }