wok-next view python-pygraphviz/receipt @ rev 12753
dosbox: fix compile_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri May 11 13:42:55 2012 +0200 (2012-05-11) |
parents | f3327707164a |
children | fd4f1e692109 |
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 DEPENDS="graphviz python"
11 BUILD_DEPENDS="graphviz-dev python-dev"
12 WEB_SITE="http://pypi.python.org/pypi/pygraphviz"
13 WGET_URL="http://networkx.lanl.gov/download/$SOURCE/$TARBALL"
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=$PWD/_pkg
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr
27 cp -a $_pkg/usr/lib $fs/usr
28 }