summaryrefslogtreecommitdiff
blob: 975d9d1c1002320b8b7954311867474d230672df (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/goosnes/goosnes-0.5.2.ebuild,v 1.1 2003/03/03 02:24:17 vapier Exp $

DESCRIPTION="A GTK+ frontend for Snes9X"
SRC_URI="http://bard.sytes.net/debian/dists/unstable/main/source/${PN}_${PV}-1.tar.gz"
HOMEPAGE="http://bard.sytes.net/goosnes/"

SLOT="0"
LICENSE="GPL-2"
KEYWORDS="x86"
IUSE="gtk2"

DEPEND="|| (
		gtk2? ( =x11-libs/gtk+-2* )
		=x11-libs/gtk+-1*
	)
	dev-util/pkgconfig
	dev-libs/libxml2"
RDEPEND="app-emulation/snes9x"

src_compile() {
	use gtk2 && myconf="--with-gtk-version=2.0"
	econf ${myconf} || die
	emake || die
}

src_install() {
	make DESTDIR=${D} install || die
	dodoc AUTHORS ChangeLog README
}