wok-4.x diff twisted/receipt @ rev 5182

linux: fix kernel_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Mar 27 20:38:05 2010 +0100 (2010-03-27)
parents
children 47aff52eae00
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/twisted/receipt	Sat Mar 27 20:38:05 2010 +0100
     1.3 @@ -0,0 +1,27 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="twisted"
     1.7 +VERSION="8.2.0"
     1.8 +CATEGORY="network"
     1.9 +SHORT_DESC="Event-driven networking for internet applications."
    1.10 +MAINTAINER="pascal.bellard@slitaz.org"
    1.11 +SOURCE="Twisted"
    1.12 +TARBALL="$SOURCE-$VERSION.tar.bz2"
    1.13 +WEB_SITE="http://twistedmatrix.com/trac/"
    1.14 +WGET_URL="http://tmrc.mit.edu/mirror/$PACKAGE/$SOURCE/${VERSION%.*}/$TARBALL"
    1.15 +DEPENDS="python zopeinterface"
    1.16 +BUILD_DEPENDS="python"
    1.17 +
    1.18 +# Rules to configure and make the package.
    1.19 +compile_rules()
    1.20 +{
    1.21 +	cd $src
    1.22 +	python setup.py build && python setup.py install --root=$PWD/_pkg
    1.23 +}
    1.24 +
    1.25 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.26 +genpkg_rules()
    1.27 +{
    1.28 +	cp -a $_pkg/usr $fs
    1.29 +}
    1.30 +