wok view python-formalchemy/receipt @ rev 10962

Fixed opencc CATEGORY. Don't use pushd and popd cause build bot may not use bash. Some clean up.
author Christopher Rogers <slaxemulator@gmail.com>
date Tue Sep 20 10:22:35 2011 +0000 (2011-09-20)
parents 5c1856d603e2
children d66b9f197cdf
line source
1 # SliTaz package receipt.
3 PACKAGE="python-formalchemy"
4 SOURCE="FormAlchemy"
5 VERSION="1.3.1"
6 CATEGORY="development"
7 SHORT_DESC="Auto-generated, customizable HTML output form fields from SQLAlchemy mapped classes."
8 MAINTAINER="claudinei@slitaz.org"
9 DEPENDS="python python-sqlalchemy"
10 BUILD_DEPENDS="python python-dev setuptools"
11 TARBALL="$SOURCE-$VERSION.tar.gz"
12 WEB_SITE="http://code.google.com/p/formalchemy"
13 WGET_URL="http://formalchemy.googlecode.com/files/$TARBALL"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 python setup.py install --root=$PWD/_pkg
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 for file in `find $_pkg | grep 'pyc$'`; do
26 rm $file
27 done
28 mkdir -p $fs/usr
29 cp -a $_pkg/usr $fs
30 }