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

Add: ucl and upx-ucl (opensource version)
author Alexander Medvedev <devl547@gmail.com>
date Mon Nov 07 11:04:50 2011 +0000 (2011-11-07)
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 }