wok-4.x view python-pygments/receipt @ rev 5281
jack : fix missing .pc file
author | Rohit Joshi <jozee@slitaz.org> |
---|---|
date | Fri Apr 16 12:55:45 2010 -0400 (2010-04-16) |
parents | ad73f7efcc3d |
children | ab9c59834e71 |
line source
1 # SliTaz package receipt.
3 PACKAGE="python-pygments"
4 SOURCE="Pygments"
5 VERSION="1.1.1"
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="python python-dev setuptools"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 python setup.py install --root=$PWD/_pkg
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 find $_pkg -name "*.pyc" -exec rm '{}' \;
26 mkdir -p $fs/usr
27 cp -a $_pkg/usr $fs
28 }
30 # Remove old package.
31 post_install()
32 {
33 rm -rf $1/var/lib/tazpkg/installed/pygments
34 }