wok-current view python-pygments/receipt @ rev 15911
pango: girepository-1.0 goes in dev package (save space on ISO)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat Feb 15 13:09:14 2014 +0100 (2014-02-15) |
parents | ab9c59834e71 |
children | 313b384e2a06 |
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 LICENSE="BSD"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="http://pygments.org"
12 WGET_URL="http://pypi.python.org/packages/source/P/$SOURCE/$TARBALL"
14 DEPENDS="python"
15 BUILD_DEPENDS="setuptools"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 python setup.py install --root=$DESTDIR
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr
28 cp -a $install/usr $fs
29 }
31 # Remove old package.
32 post_install()
33 {
34 rm -rf $1/var/lib/tazpkg/installed/pygments
35 }