wok-stable annotate python-cheetah/receipt @ rev 7632
*-pam: reinstall core package in pre_remove()
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Dec 13 12:44:48 2010 +0100 (2010-12-13) |
parents | 20cd812d9bd3 |
children |
rev | line source |
---|---|
pankso@3375 | 1 # SliTaz package receipt. |
pankso@3375 | 2 |
pankso@3375 | 3 PACKAGE="python-cheetah" |
slaxemulator@6603 | 4 VERSION="2.4.3" |
pankso@3375 | 5 CATEGORY="development" |
pankso@3375 | 6 SHORT_DESC="Cheetah is a template engine and code generation tool written in Python." |
pankso@3375 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@3375 | 8 SOURCE="Cheetah" |
pankso@3375 | 9 TARBALL="$SOURCE-$VERSION.tar.gz" |
pankso@3375 | 10 WEB_SITE="http://www.cheetahtemplate.org/" |
slaxemulator@6603 | 11 WGET_URL="http://pypi.python.org/packages/source/C/$SOURCE/$TARBALL" |
pankso@3375 | 12 DEPENDS="python" |
pankso@3375 | 13 BUILD_DEPENDS="python python-dev" |
pankso@3375 | 14 TAGS="python" |
pankso@3375 | 15 |
pankso@3375 | 16 # Rules to configure and make the package. |
pankso@3375 | 17 compile_rules() |
pankso@3375 | 18 { |
pankso@3375 | 19 cd $src |
pankso@3375 | 20 python setup.py install --root=$PWD/_pkg |
pankso@3375 | 21 } |
pankso@3375 | 22 |
pankso@3375 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@3375 | 24 genpkg_rules() |
pankso@3375 | 25 { |
pankso@3375 | 26 cp -a $_pkg/usr $fs |
pankso@3375 | 27 } |