wok-6.x view python-pychart/receipt @ rev 15522
Up: thunderbird-langpack-sl (17.0.10esr)
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Tue Nov 19 22:24:32 2013 +0100 (2013-11-19) |
parents | 017a09f73a4a |
children | c0f78f4c829d |
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 LICENSE="GPL"
9 SOURCE="PyChart"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="http://home.gna.org/pychart/"
12 WGET_URL="http://download.gna.org/pychart/$TARBALL"
13 DEPENDS="python"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 python setup.py build
20 python setup.py install --root=$DESTDIR
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs
27 cp -a $install/usr $fs
28 }
30 # Remove old package.
31 post_install()
32 {
33 rm -rf $1/var/lib/tazpkg/installed/pychart
34 }