wok-6.x annotate python-cheetah/receipt @ rev 4354
wqy-bitmapfont: UP post_install
author | Liu Peng <rocky@slitaz.org> |
---|---|
date | Sun Oct 04 09:50:24 2009 +0000 (2009-10-04) |
parents | |
children | 20cd812d9bd3 |
rev | line source |
---|---|
pankso@3375 | 1 # SliTaz package receipt. |
pankso@3375 | 2 |
pankso@3375 | 3 PACKAGE="python-cheetah" |
pankso@3375 | 4 VERSION="2.2.0" |
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/" |
pankso@3375 | 11 WGET_URL="$SF_MIRROR/cheetahtemplate/$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 } |