summaryrefslogtreecommitdiff
blob: 1cac61fb7c810c7cfad406d72b1d72225eab3063 (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
28
29
30
31
32
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-arcade/gnake/gnake-0.94b.ebuild,v 1.1 2006/01/05 16:12:13 wolf31o2 Exp $

inherit toolchain-funcs games

MY_PN="Gnake"
MY_P=${MY_PN}.${PV}

DESCRIPTION="An ncurses-based Nibbles clone"
HOMEPAGE="http://lightless.org/gnake"
SRC_URI="http://lightless.org/files/${MY_P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86"
IUSE=""

DEPEND="sys-libs/ncurses"

S=${WORKDIR}/${PN}

src_compile() {
	LDFLAGS="-lncurses"
	$(tc-getCC) ${CFLAGS} ${LDFLAGS} -o gnake gnake.c
}

src_install() {
	dogamesbin gnake || die "dogamesbin failed"
	dodoc README
	prepgamesdirs
}