blob: 940082248c4f659e69a3c4e0689d8c67f4bf2860 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
# Copyright 1999-2003 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.1 2003/09/10 17:46:27 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 <locale.h>" >> ggz-txt/game.h
emake || die
}
src_install() {
make DESTDIR=${D} install || die
dodoc AUTHORS ChangeLog INSTALL NEWS QuickStart.GGZ README* TODO
}
|