blob: 2457ccea84169f9baa0dfb585bd52826bf397611 (
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
|
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/snes9x/snes9x-139-r1.ebuild,v 1.2 2002/07/11 06:30:12 drobbins Exp $
DESCRIPTION="Super Nintendo Entertainment System (SNES) emulator"
HOMEPAGE="http://www.snes9x.com/"
LICENSE="as-is"
SRC_URI="http://www.snes9x.com/zips/s9xs${PV}.zip"
DEPEND="dev-lang/nasm
virtual/x11
opengl? ( virtual/opengl )
glide? ( media-libs/glide-v3 )"
S=${WORKDIR}/release
src_compile() {
emake -f Makefile.linux || die
use opengl && ( emake -f Makefile.linux OPENGL=1 clean all || die )
use glide && ( emake -f Makefile.linux GLIDE=1 clean all || die )
}
src_install() {
dobin snes9x ssnes9x
use opengl && dobin osnes9x
use glide && dobin gsnes9x
dodoc COPYRIGHT.TXT CHANGES.TXT README.TXT PROBLEMS.TXT TODO.TXT HARDWARE.TXT
}
|