# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit eutils DESCRIPTION="poker-engine is a python library that implements poker rules according to variants and betting structures specified in configuration files" HOMEPAGE="http://pok3d.com/" MY_P="${PN}_${PV}.orig.tar.gz" SRC_URI="http://pok3d.net/unstable/${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.4* dev-games/pypoker-eval dev-libs/libxml2 dev-libs/libxslt dev-python/pyxml 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" }