wok-6.x annotate python-formencode/receipt @ rev 11213
Add from wok-undigest: afpfs-ng
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Nov 03 16:59:32 2011 +0100 (2011-11-03) |
parents | a967d0e8c6f1 |
children | fd4f1e692109 |
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" |
pascal@10461 | 13 BUILD_DEPENDS="python python-dev setuptools" |
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 } |