wok view python-decoratortools/receipt @ rev 9069

squirrelmail-smallcal: fix genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Mar 04 14:43:55 2011 +0100 (2011-03-04)
parents 7f46b72fa943
children fd4f1e692109
line source
1 # SliTaz package receipt.
3 PACKAGE="python-decoratortools"
4 VERSION="1.8"
5 CATEGORY="development"
6 SHORT_DESC="Class, function, and metaclass decorators"
7 MAINTAINER="taziden@slitaz.org"
8 SOURCE="DecoratorTools"
9 DEPENDS="python"
10 BUILD_DEPENDS="python python-dev"
11 TARBALL="$SOURCE-$VERSION.zip"
12 WEB_SITE="http://pypi.python.org/pypi/DecoratorTools"
13 WGET_URL="http://pypi.python.org/packages/source/D/$SOURCE/$TARBALL"
14 TAGS="python"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 python setup.py install --root=$PWD/_pkg
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 cp -a $_pkg/usr $fs
27 }