wok-4.x view python-docutils/receipt @ rev 5996
lirc: Upgrade to 0.8.6
author | Matthew Sheets <rcx@zoominternet.net> |
---|---|
date | Sat Aug 14 14:28:10 2010 +0000 (2010-08-14) |
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 }