wok-next view python-pydot/receipt @ rev 9732

linux: Fix 2. clean up and make it build with cookutils: FIXME: tazwok specif code (aufs is ok for cook and tazwok I guess)
author Christophe Lincoln <pankso@slitaz.org>
date Mon May 09 15:57:19 2011 +0200 (2011-05-09)
parents 1cfe4916e547
children fd4f1e692109
line source
1 # SliTaz package receipt.
3 PACKAGE="python-pydot"
4 SOURCE="pydot"
5 VERSION="1.0.2"
6 CATEGORY="development"
7 SHORT_DESC="Python interface to Graphviz's dot language."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 TARBALL="$SOURCE-$VERSION.tar.gz"
10 WEB_SITE="http://code.google.com/p/pydot/"
11 WGET_URL="http://$SOURCE.googlecode.com/files/$TARBALL"
12 DEPENDS="python python-pyparsing graphviz"
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/usr
26 cp -a $_pkg/usr/lib $fs/usr
27 }
29 # Remove old package.
30 post_install()
31 {
32 rm -rf $1/var/lib/tazpkg/installed/pydot
33 }