wok view python-jinja2/receipt @ rev 7842
Up: supertux to 0.3.3.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Tue Dec 28 01:46:45 2010 +0000 (2010-12-28) |
parents | ad73f7efcc3d |
children | d434bfe7b498 |
line source
1 # SliTaz package receipt.
3 PACKAGE="python-jinja2"
4 SOURCE="Jinja2"
5 VERSION="2.2.1"
6 CATEGORY="development"
7 SHORT_DESC="Stand-alone template engine."
8 MAINTAINER="claudinei@slitaz.org"
9 TARBALL="$SOURCE-$VERSION.tar.gz"
10 WEB_SITE="http://jinja.pocoo.org"
11 WGET_URL="http://pypi.python.org/packages/source/J/$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/lib $fs/usr
28 }
30 # Remove old package.
31 post_install()
32 {
33 rm -rf $1/var/lib/tazpkg/installed/jinja2
34 }