wok annotate python-pydot/receipt @ rev 9629
mpg123: Replaced libtool depend with libtdl.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Mon Apr 25 19:12:16 2011 +0000 (2011-04-25) |
parents | 1cfe4916e547 |
children | fd4f1e692109 |
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" |
claudinei@3417 | 9 TARBALL="$SOURCE-$VERSION.tar.gz" |
claudinei@3417 | 10 WEB_SITE="http://code.google.com/p/pydot/" |
claudinei@3417 | 11 WGET_URL="http://$SOURCE.googlecode.com/files/$TARBALL" |
claudinei@3418 | 12 DEPENDS="python python-pyparsing graphviz" |
claudinei@3417 | 13 |
claudinei@3417 | 14 # Rules to configure and make the package. |
claudinei@3417 | 15 compile_rules() |
claudinei@3417 | 16 { |
claudinei@3417 | 17 cd $src |
claudinei@3417 | 18 python setup.py build |
claudinei@3417 | 19 python setup.py install --root=$PWD/_pkg |
claudinei@3417 | 20 } |
claudinei@3417 | 21 |
claudinei@3417 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
claudinei@3417 | 23 genpkg_rules() |
claudinei@3417 | 24 { |
claudinei@3417 | 25 mkdir -p $fs/usr |
claudinei@3417 | 26 cp -a $_pkg/usr/lib $fs/usr |
claudinei@3417 | 27 } |
claudinei@3417 | 28 |
claudinei@3417 | 29 # Remove old package. |
claudinei@3417 | 30 post_install() |
claudinei@3417 | 31 { |
claudinei@3417 | 32 rm -rf $1/var/lib/tazpkg/installed/pydot |
claudinei@3417 | 33 } |