wok-current view python-pygraphviz/receipt @ rev 15222

cups-pam: fix pre_remove
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Sep 22 09:48:59 2013 +0200 (2013-09-22)
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 }