summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2009-01-06 21:21:30 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2009-01-06 21:21:30 +0000
commit95259d532b7a62ecacbede5ccdbceb4ff076ba90 (patch)
tree8eee392b0db265637e2e34b976d7c1fca8a8fdb6 /games-simulation/gl117/gl117-1.3.2.ebuild
parentEAPI=2; add use-based deps (diff)
downloadhistorical-95259d532b7a62ecacbede5ccdbceb4ff076ba90.tar.gz
historical-95259d532b7a62ecacbede5ccdbceb4ff076ba90.tar.bz2
historical-95259d532b7a62ecacbede5ccdbceb4ff076ba90.zip
EAPI=2; add use-based dep for media-libs/sdl-mixer
Package-Manager: portage-2.1.6.4/cvs/Linux 2.6.27.8 i686
Diffstat (limited to 'games-simulation/gl117/gl117-1.3.2.ebuild')
-rw-r--r--games-simulation/gl117/gl117-1.3.2.ebuild14
1 files changed, 4 insertions, 10 deletions
diff --git a/games-simulation/gl117/gl117-1.3.2.ebuild b/games-simulation/gl117/gl117-1.3.2.ebuild
index 43538f741aee..58fc876ca385 100644
--- a/games-simulation/gl117/gl117-1.3.2.ebuild
+++ b/games-simulation/gl117/gl117-1.3.2.ebuild
@@ -1,7 +1,8 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-simulation/gl117/gl117-1.3.2.ebuild,v 1.7 2007/03/12 15:59:24 nyhm Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-simulation/gl117/gl117-1.3.2.ebuild,v 1.8 2009/01/06 21:21:30 mr_bones_ Exp $
+EAPI=2
inherit eutils games
MY_P="gl-117-${PV}-src"
@@ -15,20 +16,13 @@ KEYWORDS="amd64 ppc x86"
IUSE=""
DEPEND="media-libs/libsdl
- media-libs/sdl-mixer
+ media-libs/sdl-mixer[mikmod]
virtual/opengl
virtual/glu
virtual/glut"
S=${WORKDIR}/${MY_P}
-pkg_setup() {
- if ! built_with_use media-libs/sdl-mixer mikmod ; then
- die "Please emerge sdl-mixer with USE=mikmod"
- fi
- games_pkg_setup
-}
-
src_install() {
emake DESTDIR="${D}" install || die "emake install failed"
newicon doc/src/falcon.jpg ${PN}.jpg