1 # Copyright 1999-2009 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
5 inherit eutils toolchain-funcs multilib games
8 DESCRIPTION
="Fast interpreter for the Glulx VM"
9 HOMEPAGE
="http://www.diden.net/if/git/"
10 SRC_URI
="mirror://ifarchive/programming/glulx/interpreters/${PN}/${MY_P}.zip"
14 KEYWORDS
="~amd64 ~x86"
17 RDEPEND
="dev-games/glkloader"
20 dev-games/glk-headers"
26 epatch
"${FILESDIR}"/git-1.2
.2-LDFLAGS.
patch
27 epatch
"${FILESDIR}"/git-1.2
.2-gargoyle.
patch
31 emake CC
=$
(tc-getCC
) OPTIONS
="-DUSE_INLINE ${CFLAGS}" LINKLIBS
=-lm \
32 GLKLIBDIR
=/usr
/$
(get_libdir
) GLKINCLUDEDIR
=/usr
/include
/glk GLK
=glkloader || die
"emake failed"
36 newgamesbin git glulxgit || die
"newgamesbin failed"
37 dodoc README.txt || die
"dodoc failed"