wok-next view twisted/receipt @ rev 8799
(try to) fix dmraid compile_rules()
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Wed Feb 23 00:17:31 2011 +0100 (2011-02-23) |
parents | 47aff52eae00 |
children | 01b227722187 |
line source
1 # SliTaz package receipt.
3 PACKAGE="twisted"
4 VERSION="10.2.0"
5 CATEGORY="network"
6 SHORT_DESC="Event-driven networking for internet applications."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 SOURCE="Twisted"
9 TARBALL="$SOURCE-$VERSION.tar.bz2"
10 WEB_SITE="http://twistedmatrix.com/trac/"
11 WGET_URL="http://tmrc.mit.edu/mirror/$PACKAGE/$SOURCE/${VERSION%.*}/$TARBALL"
12 DEPENDS="python zopeinterface"
13 BUILD_DEPENDS="python python-dev"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 python setup.py build && python setup.py install --root=$PWD/_pkg
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 cp -a $_pkg/usr $fs
26 }