wok-6.x view python-docutils/receipt @ rev 20919
updated file, libmagic, libmagic-dev, and python-magic (5.30 -> 5.36)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Mar 01 16:28:21 2019 +0100 (2019-03-01) |
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 }