wok-stable annotate pygments/receipt @ rev 3355
dhcp6: fix SOURCE
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jun 11 17:59:39 2009 +0200 (2009-06-11) |
parents | |
children |
rev | line source |
---|---|
claudinei@3256 | 1 # SliTaz package receipt. |
claudinei@3256 | 2 |
claudinei@3256 | 3 PACKAGE="pygments" |
claudinei@3256 | 4 SOURCE="Pygments" |
claudinei@3256 | 5 VERSION="1.0" |
claudinei@3256 | 6 CATEGORY="development" |
claudinei@3256 | 7 SHORT_DESC="Generic syntax highlighter." |
claudinei@3256 | 8 MAINTAINER="claudinei@slitaz.org" |
claudinei@3256 | 9 TARBALL="$SOURCE-$VERSION.tar.gz" |
claudinei@3256 | 10 WEB_SITE="http://pygments.org" |
claudinei@3256 | 11 WGET_URL="http://pypi.python.org/packages/source/P/$SOURCE/$TARBALL" |
claudinei@3256 | 12 DEPENDS="python" |
claudinei@3256 | 13 BUILD_DEPENDS="python python-dev setuptools" |
claudinei@3256 | 14 |
claudinei@3256 | 15 # Rules to configure and make the package. |
claudinei@3256 | 16 compile_rules() |
claudinei@3256 | 17 { |
claudinei@3256 | 18 cd $src |
claudinei@3256 | 19 python setup.py install --root=$PWD/_pkg |
claudinei@3256 | 20 } |
claudinei@3256 | 21 |
claudinei@3256 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
claudinei@3256 | 23 genpkg_rules() |
claudinei@3256 | 24 { |
claudinei@3256 | 25 mkdir -p $fs/usr |
claudinei@3256 | 26 cp -a $_pkg/usr $fs |
claudinei@3256 | 27 } |
claudinei@3256 | 28 |