summaryrefslogtreecommitdiff
blob: b7331b9ed434e79bcb52fcb70c97a1e16725b683 (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
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-emulation/snes9express/snes9express-1.42.ebuild,v 1.5 2004/11/07 20:39:10 blubb Exp $

inherit eutils

DESCRIPTION="A graphical interface for the X11 versions of snes9x"
SRC_URI="mirror://sourceforge/snes9express/${P}.tar.gz"
HOMEPAGE="http://www.linuxgames.com/snes9express/"
LICENSE="GPL-2"
DEPEND=">=x11-libs/gtk+-2.0.0
		sys-libs/glibc"
RDEPEND="games-emulation/snes9x"
IUSE=""
SLOT="0"
KEYWORDS="~ppc ~x86 ~amd64"

src_unpack() {
	unpack ${A}
	cd ${S}
	epatch ${FILESDIR}/${P}-fix.patch
}

src_compile() {
	econf || die "./configure failed"
	emake || die "compilation failed"
}

src_install () {
	emake DESTDIR=${D} install || die "make install failed"
	dodoc AUTHORS ChangeLog COPYING INSTALL NEWS README || \
		die "Installation of docs failed"
}