wok-stable view python-docutils/receipt @ rev 11561

Add picoblog form wok-undigest
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Dec 25 15:19:17 2011 +0100 (2011-12-25)
parents 5519da658874
children
line source
1 # SliTaz package receipt.
3 PACKAGE="python-docutils"
4 SOURCE="docutils"
5 VERSION="snapshot"
6 CATEGORY="development"
7 SHORT_DESC="Text processing system."
8 MAINTAINER="claudinei@slitaz.org"
9 TARBALL="$SOURCE-$VERSION.tgz"
10 WEB_SITE="http://docutils.sourceforge.net"
11 WGET_URL="$WEB_SITE/$TARBALL"
12 DEPENDS="python"
13 BUILD_DEPENDS="python python-dev"
14 SUGGESTED="pil"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 python setup.py install --root=$PWD/_pkg
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr
27 cp -a $_pkg/usr $fs
28 }
30 # Remove old package.
31 post_install()
32 {
33 rm -rf $1/var/lib/tazpkg/installed/docutils
34 }