wok-6.x view python-sphinx/receipt @ rev 3585

pcmanfm: french transation (thanks Taziden)
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Sat Jun 27 01:17:17 2009 +0200 (2009-06-27)
parents ad73f7efcc3d
children eb0b11becb81
line source
1 # SliTaz package receipt.
3 PACKAGE="python-sphinx"
4 SOURCE="Sphinx"
5 VERSION="0.6.2"
6 CATEGORY="utilities"
7 SHORT_DESC="Documentation Tool."
8 MAINTAINER="claudinei@slitaz.org"
9 TARBALL="$SOURCE-$VERSION.tar.gz"
10 WEB_SITE="http://sphinx.pocoo.org"
11 WGET_URL="http://pypi.python.org/packages/source/S/$SOURCE/$TARBALL"
12 DEPENDS="python python-docutils python-jinja2 python-pygments setuptools"
13 BUILD_DEPENDS="$DEPENDS python-dev"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 python setup.py build &&
20 python setup.py install --root=$PWD/_pkg
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr
27 cp -a $_pkg/usr $fs
28 }
30 # Remove old package.
31 post_install()
32 {
33 rm -rf $1/var/lib/tazpkg/installed/sphinx
34 }