wok-next view python-sphinx/receipt @ rev 18716
cups, cups-pam: remove duplicate files with libcups; misc. edits.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Dec 17 05:25:15 2015 +0200 (2015-12-17) |
parents | 7390f8de9846 |
children | 9e01bc6321ea |
line source
1 # SliTaz package receipt.
3 PACKAGE="python-sphinx"
4 SOURCE="Sphinx"
5 VERSION="0.6.3"
6 CATEGORY="utilities"
7 SHORT_DESC="Documentation Tool."
8 MAINTAINER="claudinei@slitaz.org"
9 LICENSE="BSD"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="http://sphinx.pocoo.org"
12 WGET_URL="http://pypi.python.org/packages/source/S/$SOURCE/$TARBALL"
14 DEPENDS="python python-docutils python-jinja2 python-pygments setuptools"
15 BUILD_DEPENDS="$DEPENDS python-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 python setup.py build &&
21 python setup.py install --root=$DESTDIR
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr
28 cp -a $install/usr $fs
29 }
31 # Remove old package.
32 post_install()
33 {
34 [ ! -d $1/var/lib/tazpkg/installed/sphinx ] ||
35 rm -rf $1/var/lib/tazpkg/installed/sphinx
36 }