wok view python-docutils/receipt @ rev 22157
updated xdg-user-dirs (0.14 -> 0.17)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Nov 07 10:01:05 2019 +0100 (2019-11-07) |
parents | 1067bb7f1e24 |
children | 504075bdacfe |
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="python-pil"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 python setup.py install --root=$DESTDIR
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 cp -a $install/usr $fs
27 }
29 # Remove old package.
30 post_install()
31 {
32 [ ! -d "$1/var/lib/tazpkg/installed/docutils" ] ||
33 rm -rf "$1/var/lib/tazpkg/installed/docutils"
34 }