wok-next annotate python-pygments/receipt @ rev 19494
linld: cooker doc link
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Nov 14 08:55:24 2016 +0100 (2016-11-14) |
parents | 313b384e2a06 |
children | 8cad5edc1a45 |
rev | line source |
---|---|
claudinei@3385 | 1 # SliTaz package receipt. |
claudinei@3385 | 2 |
claudinei@3385 | 3 PACKAGE="python-pygments" |
paul@18810 | 4 VERSION="2.0.2" |
claudinei@3385 | 5 CATEGORY="development" |
al@16776 | 6 SHORT_DESC="Generic syntax highlighter" |
claudinei@3385 | 7 MAINTAINER="claudinei@slitaz.org" |
pascal@15378 | 8 LICENSE="BSD" |
al@16776 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
al@16776 | 10 WEB_SITE="http://pygments.org/" |
al@16776 | 11 WGET_URL="https://bitbucket.org/birkenfeld/pygments-main/get/$VERSION.tar.bz2" |
pascal@15378 | 12 |
al@16776 | 13 DEPENDS="python setuptools" |
al@16776 | 14 BUILD_DEPENDS="setuptools wget" |
claudinei@3385 | 15 |
claudinei@3385 | 16 # Rules to configure and make the package. |
claudinei@3385 | 17 compile_rules() |
claudinei@3385 | 18 { |
al@16776 | 19 python setup.py install --no-compile --root=$install |
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 { |
al@16776 | 25 cp -a $install/* $fs |
claudinei@3385 | 26 } |