1 # Copyright 1999-2008 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
5 inherit eutils flag-o-matic games
8 DESCRIPTION
="An interpreter for the Glulx Virtual Machine"
9 HOMEPAGE
="http://www.eblong.com/zarf/glulx/"
10 SRC_URI
="mirror://ifarchive/programming/glulx/interpreters/${PN}/${MY_P}.tar.gz
11 http://www.eblong.com/zarf/glulx/${MY_P}.tar.gz"
15 KEYWORDS
="~amd64 ~x86"
18 DEPEND
="dev-games/glkloader"
26 epatch
"${FILESDIR}"/glulxe-0.4
.3-user-CFLAGS.
patch
27 epatch
"${FILESDIR}"/glulxe-0.4
.3-gargoyle.
patch
28 sed -i -e "s,@PV@,${PV}," unixstrt.c || die
"sed failed"
32 use verify
&& append-flags
-DVERIFY_MEMORY_ACCESS=1
34 GLKINCLUDEDIR
=/usr
/include
/glk \
35 GLKMAKEFILE
=Make.glkloader \
40 dogamesbin glulxe || die
"dogamesbin failed"
41 dodoc README || die
"dodoc failed"