wok-next view python-pygraphviz/receipt @ rev 9054

amule: fix genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Mar 04 11:38:47 2011 +0100 (2011-03-04)
parents a97d2633b702
children d45b76bbf023
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 SOURCE="pygraphviz"
9 TARBALL="$SOURCE-$VERSION.tar.gz"
10 DEPENDS="graphviz python"
11 WEB_SITE="http://pypi.python.org/pypi/pygraphviz"
12 WGET_URL="http://networkx.lanl.gov/download/$SOURCE/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 python setup.py build
19 python setup.py install --root=$PWD/_pkg
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 mkdir -p $fs/usr
26 cp -a $_pkg/usr/lib $fs/usr
27 }