summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2004-03-24 22:05:50 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2004-03-24 22:05:50 +0000
commite8757d48db10e5950c5a0e7494e87f0e93eee461 (patch)
tree23fe7812f7f2e62823f11be1c279e087678df07f /app-emulation/uae/uae-0.8.22.ebuild
parentAdded ~sparc keyword. (Manifest recommit) (diff)
downloadgentoo-2-e8757d48db10e5950c5a0e7494e87f0e93eee461.tar.gz
gentoo-2-e8757d48db10e5950c5a0e7494e87f0e93eee461.tar.bz2
gentoo-2-e8757d48db10e5950c5a0e7494e87f0e93eee461.zip
don't use deprecated ?: use syntax
Diffstat (limited to 'app-emulation/uae/uae-0.8.22.ebuild')
-rw-r--r--app-emulation/uae/uae-0.8.22.ebuild18
1 files changed, 14 insertions, 4 deletions
diff --git a/app-emulation/uae/uae-0.8.22.ebuild b/app-emulation/uae/uae-0.8.22.ebuild
index febf2bda3562..59be6f216160 100644
--- a/app-emulation/uae/uae-0.8.22.ebuild
+++ b/app-emulation/uae/uae-0.8.22.ebuild
@@ -1,6 +1,8 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/uae/uae-0.8.22.ebuild,v 1.12 2004/01/29 03:26:16 brad_mssw Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/uae/uae-0.8.22.ebuild,v 1.13 2004/03/24 22:05:50 mr_bones_ Exp $
+
+inherit eutils
DESCRIPTION="An amiga emulator"
HOMEPAGE="http://www.freiburg.linux.de/~uae/"
@@ -11,7 +13,15 @@ SLOT="0"
KEYWORDS="x86 ~ppc amd64"
IUSE="X gtk svga sdl"
-DEPEND="X? ( virtual/x11 gtk? ( x11-libs/gtk+ ) ) : ( sys-libs/ncurses svga? ( media-libs/svgalib ) )
+DEPEND="virtual/glibc
+ X? (
+ virtual/x11
+ gtk? ( x11-libs/gtk+ )
+ )
+ !X? (
+ sys-libs/ncurses
+ svga? ( media-libs/svgalib )
+ )
sdl? ( media-libs/libsdl )"
src_unpack() {
@@ -23,11 +33,11 @@ src_unpack() {
src_compile() {
local myconf=""
- if [ `use X` ]; then
+ if use X ; then
myconf="--with-x --enable-dga --enable-vidmode --with-sdl --with-sdl-sound --with-sdl-gfx"
myconf="$myconf `use_enable gtk ui`"
else
- if [ `use svga` ]; then
+ if use svga ; then
myconf="--with-svgalib";
else
myconf="--with-asciiart";