wok annotate python-pygraphviz/receipt @ rev 15855
New kernel config and huge receipt clean up
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Jan 29 09:56:07 2014 +0100 (2014-01-29) |
parents | d45b76bbf023 |
children | 7390f8de9846 |
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@15378 | 8 LICENSE="BSD" |
pascal@3790 | 9 SOURCE="pygraphviz" |
pascal@3790 | 10 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@15378 | 11 WEB_SITE="http://pypi.python.org/pypi/pygraphviz" |
pascal@15378 | 12 WGET_URL="http://networkx.lanl.gov/download/$SOURCE/$TARBALL" |
pascal@15378 | 13 |
pascal@5005 | 14 DEPENDS="graphviz python" |
claudinei@10023 | 15 BUILD_DEPENDS="graphviz-dev python-dev" |
pascal@3790 | 16 |
pascal@3790 | 17 # Rules to configure and make the package. |
pascal@3790 | 18 compile_rules() |
pascal@3790 | 19 { |
pascal@3790 | 20 cd $src |
pascal@3790 | 21 python setup.py build |
pascal@15378 | 22 python setup.py install --root=$DESTDIR |
pascal@3790 | 23 } |
pascal@3790 | 24 |
pascal@3790 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@3790 | 26 genpkg_rules() |
pascal@3790 | 27 { |
pascal@3790 | 28 mkdir -p $fs/usr |
pascal@15378 | 29 cp -a $install/usr/lib $fs/usr |
pascal@3790 | 30 } |
pascal@3790 | 31 |