wok-6.x view python-docutils/receipt @ rev 17446
linld: add linux 2.0-2.4 support
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Dec 14 01:53:01 2014 +0100 (2014-12-14) |
parents | 2338b9f26d78 |
children | 9689f1b75619 |
line source
1 # SliTaz package receipt.
3 PACKAGE="python-docutils"
4 SOURCE="docutils"
5 VERSION="0.11"
6 CATEGORY="development"
7 SHORT_DESC="Text processing system."
8 MAINTAINER="claudinei@slitaz.org"
9 LICENSE="PublicDomain GPL3 BSD"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="http://docutils.sourceforge.net"
12 WGET_URL="http://switch.dl.sourceforge.net/project/$SOURCE/$SOURCE/$VERSION/$TARBALL"
13 DEPENDS="python"
14 BUILD_DEPENDS="python python-dev"
15 SUGGESTED="pil"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 python setup.py install --root=$DESTDIR
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 cp -a $install/usr $fs
28 }
30 # Remove old package.
31 post_install()
32 {
33 rm -rf $1/var/lib/tazpkg/installed/docutils
34 }