wok-6.x view python-pygraphviz/receipt @ rev 16179
8086tiny: fix build for arm (no graphic dont build...)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun Mar 30 17:45:53 2014 +0200 (2014-03-30) |
parents | d45b76bbf023 |
children | 7390f8de9846 |
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 LICENSE="BSD"
9 SOURCE="pygraphviz"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="http://pypi.python.org/pypi/pygraphviz"
12 WGET_URL="http://networkx.lanl.gov/download/$SOURCE/$TARBALL"
14 DEPENDS="graphviz python"
15 BUILD_DEPENDS="graphviz-dev python-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 python setup.py build
22 python setup.py install --root=$DESTDIR
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr
29 cp -a $install/usr/lib $fs/usr
30 }