# Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/games-board/ggz-txt-client/ggz-txt-client-0.0.7.ebuild,v 1.2 2004/02/29 10:18:01 vapier Exp $ DESCRIPTION="The textbased client for GGZ Gaming Zone" HOMEPAGE="http://ggz.sourceforge.net/" SRC_URI="mirror://sourceforge/ggz/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86 ~ppc" DEPEND="=dev-games/ggz-client-libs-0.0.7 sys-libs/ncurses sys-libs/readline" src_compile() { sed -i 's:-lreadline:-lreadline -lncurses:' configure econf || die echo "#include " >> ggz-txt/game.h emake || die } src_install() { make DESTDIR=${D} install || die dodoc AUTHORS ChangeLog INSTALL NEWS QuickStart.GGZ README* TODO }