summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2003-09-29 06:10:57 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2003-09-29 06:10:57 +0000
commit3a693df559c966eed3bcd64c706d12ccd48b7011 (patch)
tree9593c7aa70d4f330e10967c9e5d510ca317bc7c0 /games-emulation/dgen-sdl
parentdon't use emake for install; add error message (diff)
downloadgentoo-2-3a693df559c966eed3bcd64c706d12ccd48b7011.tar.gz
gentoo-2-3a693df559c966eed3bcd64c706d12ccd48b7011.tar.bz2
gentoo-2-3a693df559c966eed3bcd64c706d12ccd48b7011.zip
use games eclass; use use_with; added more docs
Diffstat (limited to 'games-emulation/dgen-sdl')
-rw-r--r--games-emulation/dgen-sdl/ChangeLog5
-rw-r--r--games-emulation/dgen-sdl/Manifest4
-rw-r--r--games-emulation/dgen-sdl/dgen-sdl-1.23.ebuild31
3 files changed, 23 insertions, 17 deletions
diff --git a/games-emulation/dgen-sdl/ChangeLog b/games-emulation/dgen-sdl/ChangeLog
index 1eb146b7bb5d..9cd8abee58ab 100644
--- a/games-emulation/dgen-sdl/ChangeLog
+++ b/games-emulation/dgen-sdl/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for games-emulation/dgen-sdl
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-emulation/dgen-sdl/ChangeLog,v 1.2 2003/09/10 16:03:37 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/dgen-sdl/ChangeLog,v 1.3 2003/09/29 06:10:55 mr_bones_ Exp $
+
+ 28 Sep 2003; Michael Sterrett <mr_bones_@gentoo.org> dgen-sdl-1.23.ebuild:
+ use games eclass; use use_with; added more docs
*dgen-sdl-1.23 (1 Aug 2002)
diff --git a/games-emulation/dgen-sdl/Manifest b/games-emulation/dgen-sdl/Manifest
index 1b0f4e6df8a6..ca08007112a5 100644
--- a/games-emulation/dgen-sdl/Manifest
+++ b/games-emulation/dgen-sdl/Manifest
@@ -1,3 +1,3 @@
+MD5 b029740d26448393315447a575176e48 ChangeLog 831
+MD5 ebb87528cabb4c576937aa832db59241 dgen-sdl-1.23.ebuild 850
MD5 b62a7d15563b05b01fa3b382d6eb26d5 files/digest-dgen-sdl-1.23 65
-MD5 9b371e3d00058cc0452eef7b8c082f28 dgen-sdl-1.23.ebuild 844
-MD5 03648457202bc9a9874adea7dfbc3813 ChangeLog 700
diff --git a/games-emulation/dgen-sdl/dgen-sdl-1.23.ebuild b/games-emulation/dgen-sdl/dgen-sdl-1.23.ebuild
index 61eda7e16a98..3e90584b8a98 100644
--- a/games-emulation/dgen-sdl/dgen-sdl-1.23.ebuild
+++ b/games-emulation/dgen-sdl/dgen-sdl-1.23.ebuild
@@ -1,29 +1,32 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-emulation/dgen-sdl/dgen-sdl-1.23.ebuild,v 1.1 2003/09/09 16:26:49 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/dgen-sdl/dgen-sdl-1.23.ebuild,v 1.2 2003/09/29 06:10:55 mr_bones_ Exp $
-DESCRIPTION="DGen/SDL is a Linux/SDL-Port of the famous DGen MegaDrive/Genesis-Emulator"
+inherit games
+
+DESCRIPTION="A Linux/SDL-Port of the famous DGen MegaDrive/Genesis-Emulator"
HOMEPAGE="http://www.pknet.com/~joe/dgen-sdl.html"
SRC_URI="http://www.pknet.com/~joe/${P}.tar.gz"
-SLOT="0"
-KEYWORDS="x86"
LICENSE="dgen-sdl"
+KEYWORDS="x86"
+SLOT="0"
+
IUSE="X mmx opengl"
-DEPEND="media-libs/libsdl X? virtual/x11 opengl? virtual/opengl"
-RDEPEND="${DEPEND} dev-lang/nasm"
+DEPEND="media-libs/libsdl
+ X? virtual/x11
+ opengl? virtual/opengl"
+RDEPEND="${DEPEND}
+ dev-lang/nasm"
src_compile() {
- local myconf=""
- use opengl || myconf="${myconf} --without-opengl"
- use X && myconf="${myconf} --with-x"
- use mmx || myconf="${myconf} --without-mmx"
-
- econf ${myconf}
- emake || die
+ egamesconf `use_with opengl` `use_with X x` `use_with mmx` || die
+ emake || die "emake failed"
}
src_install() {
- make DESTDIR=${D} install || die
+ make DESTDIR=${D} install || die "make install failed"
+ dodoc AUTHORS ChangeLog README sample.dgenrc
+ prepgamesdirs
}