wok-current annotate python-pydot/receipt @ rev 17718
slitaz-tools-boxes: add bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Mar 05 11:48:47 2015 +0100 (2015-03-05) |
parents | aa7d170708a9 |
children | c0f78f4c829d |
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" |
claudinei@3417 | 15 |
claudinei@3417 | 16 # Rules to configure and make the package. |
claudinei@3417 | 17 compile_rules() |
claudinei@3417 | 18 { |
claudinei@3417 | 19 cd $src |
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 } |