wok-current view python-jinja2/receipt @ rev 15056
broadcom-wl: no source file to move
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Aug 13 10:27:54 2013 +0000 (2013-08-13) |
parents | d434bfe7b498 |
children | fd4f1e692109 |
line source
1 # SliTaz package receipt.
3 PACKAGE="python-jinja2"
4 SOURCE="Jinja2"
5 VERSION="2.7"
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="https://pypi.python.org/packages/source/J/$SOURCE/$TARBALL"
12 DEPENDS="python python-markupsafe"
13 BUILD_DEPENDS="setuptools wget"
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 cp -a $install/usr $fs/usr
26 }
28 # Remove old package.
29 post_install()
30 {
31 rm -rf $1/var/lib/tazpkg/installed/jinja2
32 }