wok-next annotate python-formalchemy/receipt @ rev 4289
kobodeluxe: fix build with glibc-2.10
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Sep 26 14:34:42 2009 +0200 (2009-09-26) |
parents | |
children | c3fc45ddf5e1 |
rev | line source |
---|---|
claudinei@3827 | 1 # SliTaz package receipt. |
claudinei@3827 | 2 |
claudinei@3827 | 3 PACKAGE="python-formalchemy" |
claudinei@3827 | 4 SOURCE="FormAlchemy" |
claudinei@3827 | 5 VERSION="1.2" |
claudinei@3827 | 6 CATEGORY="development" |
claudinei@3827 | 7 SHORT_DESC="Auto-generated, customizable HTML output form fields from SQLAlchemy mapped classes." |
claudinei@3827 | 8 MAINTAINER="claudinei@slitaz.org" |
claudinei@3827 | 9 DEPENDS="python python-sqlalchemy" |
claudinei@3827 | 10 BUILD_DEPENDS="python python-dev" |
claudinei@3827 | 11 TARBALL="$SOURCE-$VERSION.tar.gz" |
claudinei@3827 | 12 WEB_SITE="http://code.google.com/p/formalchemy" |
claudinei@3827 | 13 WGET_URL="http://formalchemy.googlecode.com/files/$TARBALL" |
claudinei@3827 | 14 |
claudinei@3827 | 15 # Rules to configure and make the package. |
claudinei@3827 | 16 compile_rules() |
claudinei@3827 | 17 { |
claudinei@3827 | 18 cd $src |
claudinei@3827 | 19 python setup.py install --root=$PWD/_pkg |
claudinei@3827 | 20 } |
claudinei@3827 | 21 |
claudinei@3827 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
claudinei@3827 | 23 genpkg_rules() |
claudinei@3827 | 24 { |
claudinei@3827 | 25 for file in `find $_pkg | grep 'pyc$'`; do |
claudinei@3827 | 26 rm $file |
claudinei@3827 | 27 done |
claudinei@3827 | 28 mkdir -p $fs/usr |
claudinei@3827 | 29 cp -a $_pkg/usr $fs |
claudinei@3827 | 30 } |
claudinei@3827 | 31 |