wok-next diff python-pygraphviz/receipt @ rev 4744
popt: fix WGET_URL
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Jan 08 10:20:26 2010 +0100 (2010-01-08) |
parents | |
children | f3327707164a |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/python-pygraphviz/receipt Fri Jan 08 10:20:26 2010 +0100 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 +