# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/games-arcade/blockrage/blockrage-0.2.3.ebuild,v 1.3 2007/04/08 00:11:23 josejx Exp $ inherit eutils games DESCRIPTION="Falling-blocks arcade game with a 2-player hotseat mode" HOMEPAGE="http://blockrage.sourceforge.net/" SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~ppc ~x86" IUSE="" DEPEND="media-libs/libsdl" src_unpack() { unpack ${A} cd "${S}" # Removing error due to wrong detection of cross-compile mode epatch "${FILESDIR}/${P}"-config.patch } src_install() { emake DESTDIR="${D}" install || die "emake install failed" dodoc ChangeLog KNOWN_BUGS README TODO prepgamesdirs }