wok view python-docutils/receipt @ rev 11760

up tuxtype (1.8.1) and removed extension from desktop file
author Samuel Trassare <samuel_trassare@yahoo.com>
date Wed Feb 22 13:06:57 2012 -0800 (2012-02-22)
parents 5519da658874
children 2338b9f26d78
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 }