# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit eutils games MY_P=${P//./} DESCRIPTION="an interpreter for the Glulx Virtual Machine" HOMEPAGE="http://www.eblong.com/zarf/glulx/index.html" SRC_URI="http://www.ifarchive.org/if-archive/programming/glulx/interpreters/${PN}/${MY_P}.tar.Z" LICENSE="BSD" SLOT="0" KEYWORDS="~x86" IUSE="" DEPEND=">=dev-libs/glkloader-0.3.2 virtual/glk" S=${WORKDIR}/${PN} src_compile() { emake GLKINCLUDEDIR=/usr/include/glk GLKLIBDIR=/usr/lib GLKMAKEFILE=Make.glkloader LINKLIBS="-ldl -rdynamic" || die "emake failed" } src_install() { dogamesbin glulxe dodoc README }