wok-6.x view python-docutils/receipt @ rev 20012

Up tor (0.3.0.10)
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Fri Aug 04 00:19:50 2017 +0200 (2017-08-04)
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 }