# SliTaz package receipt. PACKAGE="python-pygraphviz" VERSION="0.99.1" CATEGORY="development" SHORT_DESC="A Python wrapper for the Graphviz Agraph data structure." MAINTAINER="pascal.bellard@slitaz.org" SOURCE="pygraphviz" TARBALL="$SOURCE-$VERSION.tar.gz" DEPENDS="graphviz python" BUILD_DEPENDS="graphviz-dev python-dev" WEB_SITE="http://pypi.python.org/pypi/pygraphviz" WGET_URL="http://networkx.lanl.gov/download/$SOURCE/$TARBALL" # Rules to configure and make the package. compile_rules() { cd $src python setup.py build python setup.py install --root=$PWD/_pkg } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr cp -a $_pkg/usr/lib $fs/usr }