wok view python-pygraphviz/receipt @ rev 19835

hatari: fix install paths
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Mar 11 08:32:51 2017 +0100 (2017-03-11)
parents fd4f1e692109
children f4d0ccc2e940
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 python setup.py build
21 python setup.py install --root=$DESTDIR
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr
28 cp -a $install/usr/lib $fs/usr
29 }