wok-4.x rev 3790

Add python-pygraphviz
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Aug 01 16:32:50 2009 +0200 (2009-08-01)
parents f0de2371d9b0
children a37eeb3e2802
files python-pygraphviz/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/python-pygraphviz/receipt	Sat Aug 01 16:32:50 2009 +0200
     1.3 @@ -0,0 +1,27 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="python-pygraphviz"
     1.7 +VERSION="0.99.1"
     1.8 +CATEGORY="development"
     1.9 +SHORT_DESC="A Python wrapper for the Graphviz Agraph data structure."
    1.10 +MAINTAINER="pascal.bellard@slitaz.org"
    1.11 +SOURCE="pygraphviz"
    1.12 +TARBALL="$SOURCE-$VERSION.tar.gz"
    1.13 +WEB_SITE="http://pypi.python.org/pypi/pygraphviz"
    1.14 +WGET_URL="http://networkx.lanl.gov/download/$SOURCE/$TARBALL"
    1.15 +
    1.16 +# Rules to configure and make the package.
    1.17 +compile_rules()
    1.18 +{
    1.19 +	cd $src
    1.20 +	python setup.py build
    1.21 +	python setup.py install --root=$PWD/_pkg
    1.22 +}
    1.23 +
    1.24 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.25 +genpkg_rules()
    1.26 +{
    1.27 +	mkdir -p $fs/usr
    1.28 +	cp -a $_pkg/usr/lib $fs/usr
    1.29 +}
    1.30 +