wok-next annotate python-kid/receipt @ rev 15608
hubbub: fix compile_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Dec 06 20:31:17 2013 +0000 (2013-12-06) |
parents | 1b51d8b402a5 |
children | 7d672a2330b8 |
rev | line source |
---|---|
pankso@3374 | 1 # SliTaz package receipt. |
pankso@3374 | 2 |
pankso@3374 | 3 PACKAGE="python-kid" |
pankso@3374 | 4 VERSION="0.9.6" |
pankso@3374 | 5 CATEGORY="development" |
pankso@3374 | 6 SHORT_DESC="Pythonic, XML-based Templating." |
pankso@3374 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15378 | 8 LICENSE="MIT" |
pankso@3374 | 9 SOURCE="kid" |
pankso@3374 | 10 TARBALL="$SOURCE-$VERSION.tar.gz" |
pankso@3374 | 11 WEB_SITE="http://www.kid-templating.org/" |
pankso@3374 | 12 WGET_URL="http://www.kid-templating.org/dist/$VERSION/$TARBALL" |
pascal@15378 | 13 TAGS="python" |
pascal@15378 | 14 |
pankso@3374 | 15 DEPENDS="python" |
pankso@3374 | 16 BUILD_DEPENDS="python python-dev setuptools" |
pankso@3374 | 17 |
pankso@3374 | 18 # Rules to configure and make the package. |
pankso@3374 | 19 compile_rules() |
pankso@3374 | 20 { |
pankso@3374 | 21 cd $src |
pascal@15378 | 22 python setup.py install --root=$DESTDIR |
pankso@3374 | 23 } |
pankso@3374 | 24 |
pankso@3374 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@3374 | 26 genpkg_rules() |
pankso@3374 | 27 { |
pascal@15378 | 28 cp -a $install/usr $fs |
pankso@3374 | 29 } |