blob: 6dcde8c32761c81c13e6a2737afe8be843393d4d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/dgen-sdl/dgen-sdl-1.23.ebuild,v 1.6 2002/10/05 05:39:07 drobbins Exp $
IUSE="X mmx opengl"
S=${WORKDIR}/${P}
DESCRIPTION="DGen/SDL is 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"
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} || die
emake || die
}
src_install () {
make DESTDIR=${D} install || die
}
|