1 # Copyright 1999-2009 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
5 inherit versionator toolchain-funcs games
8 DESCRIPTION
="Glk-based interpreter for Z-code based text games"
9 HOMEPAGE
="http://frotz.sourceforge.net/ http://ccxvii.net/gargoyle/ http://code.google.com/p/garglk/"
10 SRC_URI
="http://garglk.googlecode.com/files/gargoyle-${MY_PV}-sources.zip"
14 KEYWORDS
="~amd64 ~x86"
17 RDEPEND
=">=dev-games/glkloader-0.3.2-r3
18 !<dev-games/cheapglk-0.9.0-r1
19 !=dev-games/garglk-2006*
20 !=dev-games/garglk-2008*
21 !<dev-games/glkterm-0.8.0-r1
22 !<dev-games/glktermw-0.8.0-r2
23 !<dev-games/xglk-0.4.11-r1"
26 >=dev-games/glk-headers-0.7.0-r1"
28 S
=${WORKDIR}/terps
/frotz
31 $
(tc-getCC
) ${CPPFLAGS} -I/usr/include/glk ${CFLAGS} *.c -o glkfrotz ${LDFLAGS} -lglkloader || die
"cc failed"
35 dogamesbin glkfrotz || die
"dogamesbin failed"
36 dodoc README TODO AUTHORS || die
"dodoc failed"