wok view python-sphinx/receipt @ rev 16600

get-skype: create /var/lib/dbus/machine-id, thanks yves04
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed May 07 14:16:51 2014 +0000 (2014-05-07)
parents eb0b11becb81
children 7390f8de9846
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 cd $src
21 python setup.py build &&
22 python setup.py install --root=$DESTDIR
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr
29 cp -a $install/usr $fs
30 }
32 # Remove old package.
33 post_install()
34 {
35 rm -rf $1/var/lib/tazpkg/installed/sphinx
36 }