wok-6.x view python-jinja2/receipt @ rev 10861
Up: cookutils (1.4) - Bunch of fixes and small improvments - ready for RC
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat Jun 18 22:45:15 2011 +0200 (2011-06-18) |
parents | 4d1112b0ac44 |
children | 51066b5c27b9 |
line source
1 # SliTaz package receipt.
3 PACKAGE="python-jinja2"
4 SOURCE="Jinja2"
5 VERSION="2.5"
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="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/lib $fs/usr
27 }
29 # Remove old package.
30 post_install()
31 {
32 rm -rf $1/var/lib/tazpkg/installed/jinja2
33 }