wok view python-docutils/receipt @ rev 11915

squid: improve package (again)
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Thu Mar 01 00:00:54 2012 +0100 (2012-03-01)
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 }