summaryrefslogtreecommitdiff
blob: 598c4b05d1dac93cf38fa02f0a83ac6047d02262 (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
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-emulation/blight_input/blight_input-0.0.8.ebuild,v 1.3 2004/06/24 22:24:12 agriffis Exp $

inherit games

S=${WORKDIR}
DESCRIPTION="An input plugin for the mupen64 N64 emulator"
SRC_URI="http://deltaanime.ath.cx/~blight/n64/blight_input_plugin/${P}.tar.gz"
HOMEPAGE="http://mupen64.emulation64.com/"

KEYWORDS="-* x86"
LICENSE="GPL-2"
SLOT="0"

DEPEND=">=media-libs/libsdl-1.2.4
	media-libs/freetype"

src_unpack() {
	unpack ${A}
	cd ${S}

	# Death to all who distribute their stinking config.cache files!
	rm -f config.cache
}

src_install() {
	make install						|| die "make install failed"
	exeinto ${GAMES_LIBDIR}/mupen64/plugins
	doexe src/blight_input.so			|| die "doexe failed"
	dodoc AUTHORS ChangeLog README ToDo || die "dodoc failed"
}