wok-next annotate python-pydot/receipt @ rev 17821
Up: firefox-official (36.0.4): fix CVE-2015-0818; up: tzdata (2015b).
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sun Mar 22 11:05:54 2015 +0200 (2015-03-22) |
parents | fd4f1e692109 |
children | 7390f8de9846 |
rev | line source |
---|---|
claudinei@3417 | 1 # SliTaz package receipt. |
claudinei@3417 | 2 |
claudinei@3417 | 3 PACKAGE="python-pydot" |
claudinei@3417 | 4 SOURCE="pydot" |
claudinei@3417 | 5 VERSION="1.0.2" |
claudinei@3417 | 6 CATEGORY="development" |
claudinei@3417 | 7 SHORT_DESC="Python interface to Graphviz's dot language." |
claudinei@3417 | 8 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15378 | 9 LICENSE="MIT" |
claudinei@3417 | 10 TARBALL="$SOURCE-$VERSION.tar.gz" |
claudinei@3417 | 11 WEB_SITE="http://code.google.com/p/pydot/" |
claudinei@3417 | 12 WGET_URL="http://$SOURCE.googlecode.com/files/$TARBALL" |
pascal@15378 | 13 |
claudinei@3418 | 14 DEPENDS="python python-pyparsing graphviz" |
pascal@17742 | 15 BUILD_DEPENDS="python" |
claudinei@3417 | 16 |
claudinei@3417 | 17 # Rules to configure and make the package. |
claudinei@3417 | 18 compile_rules() |
claudinei@3417 | 19 { |
claudinei@3417 | 20 python setup.py build |
pascal@15378 | 21 python setup.py install --root=$DESTDIR |
claudinei@3417 | 22 } |
claudinei@3417 | 23 |
claudinei@3417 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
claudinei@3417 | 25 genpkg_rules() |
claudinei@3417 | 26 { |
claudinei@3417 | 27 mkdir -p $fs/usr |
pascal@15378 | 28 cp -a $install/usr/lib $fs/usr |
claudinei@3417 | 29 } |
claudinei@3417 | 30 |
claudinei@3417 | 31 # Remove old package. |
claudinei@3417 | 32 post_install() |
claudinei@3417 | 33 { |
claudinei@3417 | 34 rm -rf $1/var/lib/tazpkg/installed/pydot |
claudinei@3417 | 35 } |