wok annotate python-cheetah/receipt @ rev 10274
ncurses*: build fail if native build system is used so use the compiler machine type
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat May 21 21:22:47 2011 +0200 (2011-05-21) |
parents | 20cd812d9bd3 |
children | fd4f1e692109 |
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 } |