# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit games DESCRIPTION="a multiuser 3D online poker game" HOMEPAGE="http://mekensleep.org/index.html" SRC_URI="http://download.gna.org/underware/debian/unstable/${PN}_${PV}.orig.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86" IUSE="debug" DEPEND="media-libs/cal3d >=media-libs/libsdl-1.2.0 >=dev-lang/python-2.3 dev-libs/libxml2 >=dev-games/poker-eval-123.0 >=x11-libs/gtk+-2 >=dev-games/openscenegraph-0.9.7 >=dev-games/osgcal-0.1.23 >=dev-games/osgal-0.1 >=gnome-base/libglade-2.0" RDEPEND="virtual/opengl" src_compile() { local myconf="" if use debug; then myconf="${myconf} enable_debug=yes" fi egamesconf ${myconf} || die "egamesconf failed" emake || die "emake failed" } src_install() { emake DESTDIR=${D} install || die "emake install" }