wok-4.x annotate python-sphinx/receipt @ rev 9165

Up: jack-audio-connection-kit to 0.120.1.
author Christopher Rogers <slaxemulator@gmail.com>
date Mon Mar 07 23:31:01 2011 +0000 (2011-03-07)
parents 3ae7a1c63bcd
children
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"
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 }