wok-4.x view python-docutils/receipt @ rev 4828
Up: libxml2 (2.7.6) - Split tools (saved ~60kb)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu Jan 21 23:06:09 2010 +0100 (2010-01-21) |
parents | ad73f7efcc3d |
children | be13f25e790b |
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 src="$SOURCE"
20 cd $src
21 python setup.py install --root=$PWD/_pkg
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 _pkg="$SOURCE/_pkg"
28 for file in `find $_pkg | grep 'pyc$'`; do
29 rm $file
30 done
31 mkdir -p $fs/usr
32 cp -a $_pkg/usr $fs
33 }
35 # Remove old package.
36 post_install()
37 {
38 rm -rf $1/var/lib/tazpkg/installed/docutils
39 }