summaryrefslogtreecommitdiff
blob: 4f7aabb36b231371b9ecf7607d39a18fe4f0734d (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 Technologies, Inc.
# 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.2 2004/02/20 06:26:47 mr_bones_ 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"
}