# Copyright 1999-2005 Gentoo Foundation# Distributed under the terms of the GNU General Public License v2# $Header: /var/cvs/pokersource/poker-network/gentoo/dev-games/poker-network/poker-network-1.0.32-r1.ebuild,v 1.2 2006/12/13 10:35:14 cpinson Exp $inherit eutilsDESCRIPTION="poker-network is a python library that implements a poker game (server and client)"HOMEPAGE="http://www.pok3d.com"MY_P="${PN}_${PV}.orig.tar.gz"SRC_URI="http://pok3d.net/etch/${MY_P}"SLOT="0"LICENSE="GPL-2.1"KEYWORDS="x86 amd64"IUSE=""DEPEND=">=sys-devel/automake-1.9.0 dev-util/pkgconfig >=dev-lang/python-2.4.0 dev-python/soappy dev-python/mysql-python dev-python/pygtk dev-python/twisted dev-util/glade dev-libs/glib >=dev-games/poker-engine-1.0.25 dev-games/pypoker-eval net-misc/rsync"src_unpack() { unpack ${MY_P} if ls ${FILESDIR}/${PVR}*.patch 2>/dev/null then for i in ${FILESDIR}/${PVR}*.patch do epatch $i done fi}src_install () { make install DESTDIR=${D} || die "einstall failed"}