wok-current annotate python-sphinx/receipt @ rev 17486

rubyripper: update suggested
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Dec 30 12:23:45 2014 +0100 (2014-12-30)
parents eb0b11becb81
children 7390f8de9846
rev   line source
claudinei@3393 1 # SliTaz package receipt.
claudinei@3393 2
claudinei@3393 3 PACKAGE="python-sphinx"
claudinei@3393 4 SOURCE="Sphinx"
claudinei@4020 5 VERSION="0.6.3"
claudinei@3393 6 CATEGORY="utilities"
claudinei@3393 7 SHORT_DESC="Documentation Tool."
claudinei@3393 8 MAINTAINER="claudinei@slitaz.org"
pascal@15376 9 LICENSE="BSD"
claudinei@3393 10 TARBALL="$SOURCE-$VERSION.tar.gz"
claudinei@3393 11 WEB_SITE="http://sphinx.pocoo.org"
claudinei@3393 12 WGET_URL="http://pypi.python.org/packages/source/S/$SOURCE/$TARBALL"
pascal@15376 13
claudinei@3393 14 DEPENDS="python python-docutils python-jinja2 python-pygments setuptools"
claudinei@3393 15 BUILD_DEPENDS="$DEPENDS python-dev"
claudinei@3393 16
claudinei@3393 17 # Rules to configure and make the package.
claudinei@3393 18 compile_rules()
claudinei@3393 19 {
claudinei@3393 20 cd $src
claudinei@3393 21 python setup.py build &&
pascal@15376 22 python setup.py install --root=$DESTDIR
claudinei@3393 23 }
claudinei@3393 24
claudinei@3393 25 # Rules to gen a SliTaz package suitable for Tazpkg.
claudinei@3393 26 genpkg_rules()
claudinei@3393 27 {
claudinei@3393 28 mkdir -p $fs/usr
pascal@15376 29 cp -a $install/usr $fs
claudinei@3393 30 }
claudinei@3393 31
claudinei@3404 32 # Remove old package.
claudinei@3404 33 post_install()
claudinei@3404 34 {
claudinei@3404 35 rm -rf $1/var/lib/tazpkg/installed/sphinx
claudinei@3404 36 }