diff options
author | Mike Frysinger <vapier@gentoo.org> | 2004-01-01 09:27:40 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2004-01-01 09:27:40 +0000 |
commit | 2c9d85c2448725013a7a146c8940a87ef5d2aa95 (patch) | |
tree | b5cb2df4ae153e1a7c5cb6453c0f9de1d17d7c8e /dev-games | |
parent | ver bump #35558 (diff) | |
download | historical-2c9d85c2448725013a7a146c8940a87ef5d2aa95.tar.gz historical-2c9d85c2448725013a7a146c8940a87ef5d2aa95.tar.bz2 historical-2c9d85c2448725013a7a146c8940a87ef5d2aa95.zip |
add optional opengl support #35812
Diffstat (limited to 'dev-games')
-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 |