blob: 8e39b3d0368798acb2ca2deae758424a948bbc58 (
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
35
36
37
38
39
40
|
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-emulation/nestra/nestra-0.66.ebuild,v 1.2 2004/02/20 06:26:47 mr_bones_ Exp $
inherit games eutils
PATCH="${P/-/_}-6.diff"
DESCRIPTION="NES emulation for Linux/x86"
HOMEPAGE="http://nestra.linuxgames.com/"
SRC_URI="http://nestra.linuxgames.com/${P}.tar.gz
http://ftp.debian.org/debian/pool/contrib/n/nestra/${PATCH}.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86"
DEPEND="virtual/x11"
S=${WORKDIR}/${PN}
src_unpack() {
unpack ${A}
cd ${S}
epatch ${WORKDIR}/${PATCH}
sed -i \
-e 's:-O2 ::' \
-e "s:gcc:gcc ${CFLAGS}:" \
Makefile
}
src_compile() {
make || die "compile failed"
}
src_install() {
dogamesbin nestra
dodoc BUGS CHANGES README
doman nestra.6
prepgamesdirs
}
|