wok annotate python-jinja2/receipt @ rev 4519
xine: dont use external ffmpeg
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri Nov 27 17:10:14 2009 +0100 (2009-11-27) |
parents | 379359ccdce1 |
children | 4d1112b0ac44 |
rev | line source |
---|---|
claudinei@3390 | 1 # SliTaz package receipt. |
claudinei@3390 | 2 |
claudinei@3390 | 3 PACKAGE="python-jinja2" |
claudinei@3390 | 4 SOURCE="Jinja2" |
claudinei@3390 | 5 VERSION="2.1.1" |
claudinei@3390 | 6 CATEGORY="development" |
claudinei@3390 | 7 SHORT_DESC="Stand-alone template engine." |
claudinei@3390 | 8 MAINTAINER="claudinei@slitaz.org" |
claudinei@3390 | 9 TARBALL="$SOURCE-$VERSION.tar.gz" |
claudinei@3390 | 10 WEB_SITE="http://jinja.pocoo.org" |
claudinei@3390 | 11 WGET_URL="http://pypi.python.org/packages/source/J/$SOURCE/$TARBALL" |
claudinei@3390 | 12 DEPENDS="python" |
claudinei@3390 | 13 BUILD_DEPENDS="python python-dev setuptools" |
claudinei@3390 | 14 |
claudinei@3390 | 15 # Rules to configure and make the package. |
claudinei@3390 | 16 compile_rules() |
claudinei@3390 | 17 { |
claudinei@3390 | 18 cd $src |
claudinei@3390 | 19 python setup.py install --root=$PWD/_pkg |
claudinei@3390 | 20 } |
claudinei@3390 | 21 |
claudinei@3390 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
claudinei@3390 | 23 genpkg_rules() |
claudinei@3390 | 24 { |
claudinei@3390 | 25 mkdir -p $fs/usr |
claudinei@3390 | 26 cp -a $_pkg/usr/lib $fs/usr |
claudinei@3390 | 27 } |
claudinei@3390 | 28 |
claudinei@3404 | 29 # Remove old package. |
claudinei@3404 | 30 post_install() |
claudinei@3404 | 31 { |
claudinei@3404 | 32 rm -rf $1/var/lib/tazpkg/installed/jinja2 |
claudinei@3404 | 33 } |