# SliTaz package receipt.

PACKAGE="twisted"
VERSION="11.0.0"
CATEGORY="network"
SHORT_DESC="Event-driven networking for internet applications."
MAINTAINER="pascal.bellard@slitaz.org"
SOURCE="Twisted"
TARBALL="$SOURCE-$VERSION.tar.bz2"
WEB_SITE="http://twistedmatrix.com/trac/"
WGET_URL="http://twistedmatrix.com/Releases/Twisted/${VERSION%.*}/$TARBALL"
DEPENDS="python zopeinterface"
BUILD_DEPENDS="python python-dev"

# Rules to configure and make the package.
compile_rules()
{
	cd $src
	python setup.py build && python setup.py install --root=$DESTDIR
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
	cp -a $_pkg/usr $fs
}