wok-6.x annotate python-pygments/receipt @ rev 4404
add: prosody
author | Allan Pinto <allan316@gmail.com> |
---|---|
date | Tue Oct 20 14:48:39 2009 +0000 (2009-10-20) |
parents | a3082d29870c |
children | b58b3cd9098b |
rev | line source |
---|---|
claudinei@3385 | 1 # SliTaz package receipt. |
claudinei@3385 | 2 |
claudinei@3385 | 3 PACKAGE="python-pygments" |
claudinei@3385 | 4 SOURCE="Pygments" |
claudinei@3385 | 5 VERSION="1.0" |
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@3385 | 25 mkdir -p $fs/usr |
claudinei@3385 | 26 cp -a $_pkg/usr $fs |
claudinei@3385 | 27 } |
claudinei@3385 | 28 |
claudinei@3404 | 29 # Remove old package. |
claudinei@3404 | 30 post_install() |
claudinei@3404 | 31 { |
claudinei@3404 | 32 rm -rf $1/var/lib/tazpkg/installed/pygments |
claudinei@3404 | 33 } |