blob: 1718625d35e45de5e2a7efab0b4ab3481df3b2f7 (
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-2007 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.3 2007/04/24 14:41:47 drizzt 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="~ppc ~x86 ~x86-fbsd"
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
}
|