blob: cf4fbdc4ac98d1e6974d18b61726919dbdb9f2ce (
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
32
33
34
|
# 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.3 2002/08/04 11:25:21 seemant Exp $
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
}
|