wok-4.x annotate python-pydot/receipt @ rev 12347

gnome-vfs: repaired (from unwork state); added gnome-vfs-i18n (optional lang files)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Oct 22 01:17:33 2012 +0000 (2012-10-22)
parents 1cfe4916e547
children
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 }