wok-6.x view python-pychart/receipt @ rev 16884

Rollback gobject-introspection gobject-introspection-dev (1.34.2)
author Yuri Pourre <yuripourre@gmail.com>
date Sun Jul 13 15:40:48 2014 -0300 (2014-07-13)
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 }