wok-current annotate python-pygments/receipt @ rev 7975

Fix: doxygen needs flex to compile
author Antoine Bodin <gokhlayeh@slitaz.org>
date Mon Jan 17 17:56:23 2011 +0100 (2011-01-17)
parents ad73f7efcc3d
children ab9c59834e71
rev   line source
claudinei@3385 1 # SliTaz package receipt.
claudinei@3385 2
claudinei@3385 3 PACKAGE="python-pygments"
claudinei@3385 4 SOURCE="Pygments"
claudinei@4668 5 VERSION="1.1.1"
claudinei@3385 6 CATEGORY="development"
claudinei@3385 7 SHORT_DESC="Generic syntax highlighter."
claudinei@3385 8 MAINTAINER="claudinei@slitaz.org"
claudinei@3385 9 TARBALL="$SOURCE-$VERSION.tar.gz"
claudinei@3385 10 WEB_SITE="http://pygments.org"
claudinei@3385 11 WGET_URL="http://pypi.python.org/packages/source/P/$SOURCE/$TARBALL"
claudinei@3385 12 DEPENDS="python"
claudinei@3385 13 BUILD_DEPENDS="python python-dev setuptools"
claudinei@3385 14
claudinei@3385 15 # Rules to configure and make the package.
claudinei@3385 16 compile_rules()
claudinei@3385 17 {
claudinei@3385 18 cd $src
claudinei@3385 19 python setup.py install --root=$PWD/_pkg
claudinei@3385 20 }
claudinei@3385 21
claudinei@3385 22 # Rules to gen a SliTaz package suitable for Tazpkg.
claudinei@3385 23 genpkg_rules()
claudinei@3385 24 {
claudinei@4668 25 find $_pkg -name "*.pyc" -exec rm '{}' \;
claudinei@3385 26 mkdir -p $fs/usr
claudinei@3385 27 cp -a $_pkg/usr $fs
claudinei@3385 28 }
claudinei@3385 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/pygments
claudinei@4668 34 }