wok-4.x view python-docutils/receipt @ rev 11840

perl-html-parser: Sync with wok-tank.
author Christopher Rogers <slaxemulator@gmail.com>
date Mon Feb 27 01:06:36 2012 -0500 (2012-02-27)
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 }