wok annotate python-pygments/receipt @ rev 16163
Add Wayland server (This is our futur :-)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat Mar 29 04:05:10 2014 +0100 (2014-03-29) |
parents | ab9c59834e71 |
children | 313b384e2a06 |
rev | line source |
---|---|
claudinei@3385 | 1 # SliTaz package receipt. |
claudinei@3385 | 2 |
claudinei@3385 | 3 PACKAGE="python-pygments" |
claudinei@3385 | 4 SOURCE="Pygments" |
slaxemulator@9465 | 5 VERSION="1.4" |
claudinei@3385 | 6 CATEGORY="development" |
claudinei@3385 | 7 SHORT_DESC="Generic syntax highlighter." |
claudinei@3385 | 8 MAINTAINER="claudinei@slitaz.org" |
pascal@15378 | 9 LICENSE="BSD" |
claudinei@3385 | 10 TARBALL="$SOURCE-$VERSION.tar.gz" |
claudinei@3385 | 11 WEB_SITE="http://pygments.org" |
claudinei@3385 | 12 WGET_URL="http://pypi.python.org/packages/source/P/$SOURCE/$TARBALL" |
pascal@15378 | 13 |
claudinei@3385 | 14 DEPENDS="python" |
slaxemulator@9465 | 15 BUILD_DEPENDS="setuptools" |
claudinei@3385 | 16 |
claudinei@3385 | 17 # Rules to configure and make the package. |
claudinei@3385 | 18 compile_rules() |
claudinei@3385 | 19 { |
claudinei@3385 | 20 cd $src |
slaxemulator@9465 | 21 python setup.py install --root=$DESTDIR |
claudinei@3385 | 22 } |
claudinei@3385 | 23 |
claudinei@3385 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
claudinei@3385 | 25 genpkg_rules() |
claudinei@3385 | 26 { |
claudinei@3385 | 27 mkdir -p $fs/usr |
pascal@15378 | 28 cp -a $install/usr $fs |
claudinei@3385 | 29 } |
claudinei@3385 | 30 |
claudinei@3404 | 31 # Remove old package. |
claudinei@3404 | 32 post_install() |
claudinei@3404 | 33 { |
claudinei@3404 | 34 rm -rf $1/var/lib/tazpkg/installed/pygments |
claudinei@4668 | 35 } |