summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-arcade/gnake/gnake-0.94b.ebuild')
-rw-r--r--games-arcade/gnake/gnake-0.94b.ebuild12
1 files changed, 4 insertions, 8 deletions
diff --git a/games-arcade/gnake/gnake-0.94b.ebuild b/games-arcade/gnake/gnake-0.94b.ebuild
index 1718625d35e4..ac01d127be63 100644
--- a/games-arcade/gnake/gnake-0.94b.ebuild
+++ b/games-arcade/gnake/gnake-0.94b.ebuild
@@ -1,15 +1,12 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2008 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 $
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/gnake/gnake-0.94b.ebuild,v 1.4 2008/02/16 03:02:14 nyhm 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"
+SRC_URI="http://lightless.org/files/Gnake.${PV}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
@@ -21,8 +18,7 @@ DEPEND="sys-libs/ncurses"
S=${WORKDIR}/${PN}
src_compile() {
- LDFLAGS="-lncurses"
- $(tc-getCC) ${CFLAGS} ${LDFLAGS} -o gnake gnake.c
+ emake CC="$(tc-getCC)" LDLIBS=-lncurses gnake || die "emake failed"
}
src_install() {