wok-current view python-pydot/receipt @ rev 19411
pcmanfm: scale wallpaper proportionally to the whole screen
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Sep 24 14:08:29 2016 +0300 (2016-09-24) |
parents | 1067bb7f1e24 |
children | 8dd8bab3f0ca |
line source
1 # SliTaz package receipt.
3 PACKAGE="python-pydot"
4 SOURCE="pydot"
5 VERSION="1.0.2"
6 CATEGORY="development"
7 SHORT_DESC="Python interface to Graphviz's dot language."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="MIT"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="http://code.google.com/p/pydot/"
12 WGET_URL="http://$SOURCE.googlecode.com/files/$TARBALL"
14 DEPENDS="python python-pyparsing graphviz"
15 BUILD_DEPENDS="python"
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 }
31 # Remove old package.
32 post_install()
33 {
34 [ ! -d "$1/var/lib/tazpkg/installed/pydot" ] ||
35 rm -rf "$1/var/lib/tazpkg/installed/pydot"
36 }