diff options
Diffstat (limited to 'dev-games/kyra')
-rw-r--r-- | dev-games/kyra/kyra-2.0.7.ebuild | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/dev-games/kyra/kyra-2.0.7.ebuild b/dev-games/kyra/kyra-2.0.7.ebuild index 8e9c7eff3520..7e28de3b735f 100644 --- a/dev-games/kyra/kyra-2.0.7.ebuild +++ b/dev-games/kyra/kyra-2.0.7.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-games/kyra/kyra-2.0.7.ebuild,v 1.1 2003/10/25 12:08:38 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-games/kyra/kyra-2.0.7.ebuild,v 1.2 2004/01/01 09:27:40 vapier Exp $ DESCRIPTION="Kyra Sprite Engine" HOMEPAGE="http://www.grinninglizard.com/kyra/" @@ -9,13 +9,19 @@ SRC_URI="mirror://sourceforge/kyra/kyra_src_${PV//./_}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="x86" -IUSE="doc" +IUSE="doc opengl" DEPEND=">=media-libs/libsdl-1.2 - >=media-libs/sdl-image-1.2" + >=media-libs/sdl-image-1.2 + opengl? ( virtual/opengl )" S=${WORKDIR}/${PN} +src_compile() { + econf `use_with opengl` || die + emake || die +} + src_install() { einstall || dir #emake install DESTDIR=${D} || die |