wok-4.x annotate python-pygments/receipt @ rev 3385
Ren: pygments -> python-pygments
author | Claudinei Pereira <claudinei@slitaz.org> |
---|---|
date | Thu Jun 11 23:12:24 2009 +0000 (2009-06-11) |
parents | |
children | ad73f7efcc3d |
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 |