wok-current view python-pygraphviz/receipt @ rev 15860

libmowgli: update genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jan 30 09:02:32 2014 +0000 (2014-01-30)
parents d45b76bbf023
children 7390f8de9846
line source
1 # SliTaz package receipt.
3 PACKAGE="python-pygraphviz"
4 VERSION="0.99.1"
5 CATEGORY="development"
6 SHORT_DESC="A Python wrapper for the Graphviz Agraph data structure."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="BSD"
9 SOURCE="pygraphviz"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="http://pypi.python.org/pypi/pygraphviz"
12 WGET_URL="http://networkx.lanl.gov/download/$SOURCE/$TARBALL"
14 DEPENDS="graphviz python"
15 BUILD_DEPENDS="graphviz-dev python-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 python setup.py build
22 python setup.py install --root=$DESTDIR
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr
29 cp -a $install/usr/lib $fs/usr
30 }