#!/bin/sh
#
# Copyright 2005 Daga <chris@daga.dyndns.org>
# Available under the terms of the GNU GPL
#

NAME="bittorrent"
VERSION="4.2.1"
REVISION="1"

PKG_SOURCEURL="http://easynews.dl.sourceforge.net/sourceforge/bittorrent/BitTorrent-${VERSION}.tar.gz"

. $DLG_ROOT/config
. $DLG_ROOT/SCRIPTS/dropline-functions.sh

prepare
analyzesource

OLD_DIR=`pwd`
echo "cd ${PKG_BUILDROOT}"
cd ${PKG_BUILDROOT}
python setup.py build bdist_dumb

cd ${PKG_STAGEROOT}
tar -xzf ${PKG_BUILDROOT}/dist/*.tar.gz
cd ${OLD_DIR}

tidydocumentation
analyzebinaries
includescript
finalizepackage
packagize
cleanup
