From b93c235c27f8788d22f261957d00c8dbb2b2b5dd Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Thu, 1 Jan 2004 09:27:40 +0000 Subject: add optional opengl support #35812 --- dev-games/kyra/kyra-2.0.7.ebuild | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'dev-games/kyra') 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 -- cgit v1.2.3-65-gdbad