wok-stable view python-pygments/receipt @ rev 10943
asterisk: store ilbc sources in src cache (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Aug 29 18:23:58 2011 +0200 (2011-08-29) |
parents | b58b3cd9098b |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="python-pygments"
4 SOURCE="Pygments"
5 VERSION="1.4"
6 CATEGORY="development"
7 SHORT_DESC="Generic syntax highlighter."
8 MAINTAINER="claudinei@slitaz.org"
9 TARBALL="$SOURCE-$VERSION.tar.gz"
10 WEB_SITE="http://pygments.org"
11 WGET_URL="http://pypi.python.org/packages/source/P/$SOURCE/$TARBALL"
12 DEPENDS="python"
13 BUILD_DEPENDS="setuptools"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 python setup.py install --root=$DESTDIR
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 mkdir -p $fs/usr
26 cp -a $_pkg/usr $fs
27 }
29 # Remove old package.
30 post_install()
31 {
32 rm -rf $1/var/lib/tazpkg/installed/pygments
33 }