wok annotate python-sphinx/receipt @ rev 3625
rdesktop: update DEPENDS
author | Liu Peng <rocky@slitaz.org> |
---|---|
date | Wed Jul 01 04:27:11 2009 +0000 (2009-07-01) |
parents | ad73f7efcc3d |
children | eb0b11becb81 |
rev | line source |
---|---|
claudinei@3393 | 1 # SliTaz package receipt. |
claudinei@3393 | 2 |
claudinei@3393 | 3 PACKAGE="python-sphinx" |
claudinei@3393 | 4 SOURCE="Sphinx" |
claudinei@3477 | 5 VERSION="0.6.2" |
claudinei@3393 | 6 CATEGORY="utilities" |
claudinei@3393 | 7 SHORT_DESC="Documentation Tool." |
claudinei@3393 | 8 MAINTAINER="claudinei@slitaz.org" |
claudinei@3393 | 9 TARBALL="$SOURCE-$VERSION.tar.gz" |
claudinei@3393 | 10 WEB_SITE="http://sphinx.pocoo.org" |
claudinei@3393 | 11 WGET_URL="http://pypi.python.org/packages/source/S/$SOURCE/$TARBALL" |
claudinei@3393 | 12 DEPENDS="python python-docutils python-jinja2 python-pygments setuptools" |
claudinei@3393 | 13 BUILD_DEPENDS="$DEPENDS python-dev" |
claudinei@3393 | 14 |
claudinei@3393 | 15 # Rules to configure and make the package. |
claudinei@3393 | 16 compile_rules() |
claudinei@3393 | 17 { |
claudinei@3393 | 18 cd $src |
claudinei@3393 | 19 python setup.py build && |
claudinei@3393 | 20 python setup.py install --root=$PWD/_pkg |
claudinei@3393 | 21 } |
claudinei@3393 | 22 |
claudinei@3393 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
claudinei@3393 | 24 genpkg_rules() |
claudinei@3393 | 25 { |
claudinei@3393 | 26 mkdir -p $fs/usr |
claudinei@3393 | 27 cp -a $_pkg/usr $fs |
claudinei@3393 | 28 } |
claudinei@3393 | 29 |
claudinei@3404 | 30 # Remove old package. |
claudinei@3404 | 31 post_install() |
claudinei@3404 | 32 { |
claudinei@3404 | 33 rm -rf $1/var/lib/tazpkg/installed/sphinx |
claudinei@3404 | 34 } |