# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/games-puzzle/braincurses/braincurses-0.5b.ebuild,v 1.6 2008/05/01 10:34:46 nyhm Exp $ inherit eutils games DESCRIPTION="An ncurses-based mastermind clone" HOMEPAGE="http://freshmeat.net/projects/braincurses/" SRC_URI="mirror://sourceforge/braincurses/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="amd64 ~ppc ppc64 x86" IUSE="" DEPEND="sys-libs/ncurses" src_unpack() { unpack ${A} cd "${S}" epatch "${FILESDIR}"/${P}-gcc43.patch } src_install() { dogamesbin braincurses || die "dogamesbin failed" dodoc README THANKS Changelog prepgamesdirs }