wok-current annotate python-formencode/receipt @ rev 8353
up: glpi (0.78.2) + improve install
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Thu Feb 03 17:09:38 2011 +0100 (2011-02-03) |
parents | |
children | 3066a460cf07 |
rev | line source |
---|---|
pankso@3378 | 1 # SliTaz package receipt. |
pankso@3378 | 2 |
pankso@3378 | 3 PACKAGE="python-formencode" |
pankso@3378 | 4 VERSION="1.2.2" |
pankso@3378 | 5 CATEGORY="development" |
pankso@3378 | 6 SHORT_DESC="FormEncode is a validation and form generation package." |
pankso@3378 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@3378 | 8 SOURCE="FormEncode" |
pankso@3378 | 9 TARBALL="$SOURCE-$VERSION.tar.gz" |
pankso@3378 | 10 WEB_SITE="http://formencode.org/" |
pankso@3378 | 11 WGET_URL="http://pypi.python.org/packages/source/F/$SOURCE/$TARBALL" |
pankso@3378 | 12 DEPENDS="python" |
pankso@3378 | 13 BUILD_DEPENDS="python python-dev" |
pankso@3378 | 14 TAGS="python" |
pankso@3378 | 15 |
pankso@3378 | 16 # Rules to configure and make the package. |
pankso@3378 | 17 compile_rules() |
pankso@3378 | 18 { |
pankso@3378 | 19 cd $src |
pankso@3378 | 20 python setup.py install --root=$PWD/_pkg |
pankso@3378 | 21 } |
pankso@3378 | 22 |
pankso@3378 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@3378 | 24 genpkg_rules() |
pankso@3378 | 25 { |
pankso@3378 | 26 cp -a $_pkg/usr $fs |
pankso@3378 | 27 } |