wok view python-pychart/receipt @ rev 11965
tazwok compat: add wget as libt4k_common bdep (https $WGET_URL)
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Fri Mar 02 15:32:28 2012 +0100 (2012-03-02) |
parents | |
children | fd4f1e692109 |
line source
1 # SliTaz package receipt.
3 PACKAGE="python-pychart"
4 VERSION="1.39"
5 CATEGORY="development"
6 SHORT_DESC="Python library for creating EPS, PDF, PNG or SVG."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 SOURCE="PyChart"
9 TARBALL="$SOURCE-$VERSION.tar.gz"
10 WEB_SITE="http://home.gna.org/pychart/"
11 WGET_URL="http://download.gna.org/pychart/$TARBALL"
12 DEPENDS="python"
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
26 cp -a $_pkg/usr $fs
27 }
29 # Remove old package.
30 post_install()
31 {
32 rm -rf $1/var/lib/tazpkg/installed/pychart
33 }