summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-01-01 09:27:40 +0000
committerMike Frysinger <vapier@gentoo.org>2004-01-01 09:27:40 +0000
commitb93c235c27f8788d22f261957d00c8dbb2b2b5dd (patch)
treef1dfbceaa6cc7bce0c97119bfab08e719a100f0a /dev-games
parentver bump #35558 (diff)
downloadgentoo-2-b93c235c27f8788d22f261957d00c8dbb2b2b5dd.tar.gz
gentoo-2-b93c235c27f8788d22f261957d00c8dbb2b2b5dd.tar.bz2
gentoo-2-b93c235c27f8788d22f261957d00c8dbb2b2b5dd.zip
add optional opengl support #35812
Diffstat (limited to 'dev-games')
-rw-r--r--dev-games/kyra/kyra-2.0.7.ebuild12
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