wok-next annotate python-pygraphviz/receipt @ rev 12383
Up: libavc1394 to 0.5.4.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Thu Apr 19 22:30:36 2012 +0000 (2012-04-19) |
parents | f3327707164a |
children | fd4f1e692109 |
rev | line source |
---|---|
pascal@3790 | 1 # SliTaz package receipt. |
pascal@3790 | 2 |
pascal@3790 | 3 PACKAGE="python-pygraphviz" |
pascal@3790 | 4 VERSION="0.99.1" |
pascal@3790 | 5 CATEGORY="development" |
pascal@3790 | 6 SHORT_DESC="A Python wrapper for the Graphviz Agraph data structure." |
pascal@3790 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@3790 | 8 SOURCE="pygraphviz" |
pascal@3790 | 9 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@5005 | 10 DEPENDS="graphviz python" |
claudinei@10023 | 11 BUILD_DEPENDS="graphviz-dev python-dev" |
pascal@3790 | 12 WEB_SITE="http://pypi.python.org/pypi/pygraphviz" |
pascal@3790 | 13 WGET_URL="http://networkx.lanl.gov/download/$SOURCE/$TARBALL" |
pascal@3790 | 14 |
pascal@3790 | 15 # Rules to configure and make the package. |
pascal@3790 | 16 compile_rules() |
pascal@3790 | 17 { |
pascal@3790 | 18 cd $src |
pascal@3790 | 19 python setup.py build |
pascal@3790 | 20 python setup.py install --root=$PWD/_pkg |
pascal@3790 | 21 } |
pascal@3790 | 22 |
pascal@3790 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@3790 | 24 genpkg_rules() |
pascal@3790 | 25 { |
pascal@3790 | 26 mkdir -p $fs/usr |
pascal@3790 | 27 cp -a $_pkg/usr/lib $fs/usr |
pascal@3790 | 28 } |
pascal@3790 | 29 |