wok-stable view python-pygraphviz/receipt @ rev 4198
arj: fix build
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Sep 23 20:55:59 2009 +0200 (2009-09-23) |
parents | |
children | f3327707164a |
line source
1 # SliTaz package receipt.
3 PACKAGE="python-pygraphviz"
4 VERSION="0.99.1"
5 CATEGORY="development"
6 SHORT_DESC="A Python wrapper for the Graphviz Agraph data structure."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 SOURCE="pygraphviz"
9 TARBALL="$SOURCE-$VERSION.tar.gz"
10 WEB_SITE="http://pypi.python.org/pypi/pygraphviz"
11 WGET_URL="http://networkx.lanl.gov/download/$SOURCE/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 python setup.py build
18 python setup.py install --root=$PWD/_pkg
19 }
21 # Rules to gen a SliTaz package suitable for Tazpkg.
22 genpkg_rules()
23 {
24 mkdir -p $fs/usr
25 cp -a $_pkg/usr/lib $fs/usr
26 }