summaryrefslogtreecommitdiff
blob: 15ea2ceb43acedf3b31895dc2fa818b48087e1b4 (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
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-emulation/mupen64-blight-input/mupen64-blight-input-0.0.8-r1.ebuild,v 1.3 2005/09/26 17:46:51 wolf31o2 Exp $

inherit eutils games

DESCRIPTION="An input plugin for the mupen64 N64 emulator"
HOMEPAGE="http://mupen64.emulation64.com/"
SRC_URI="mirror://gentoo/blight_input-${PV}-b.tar.gz"

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

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

S="${WORKDIR}/blight_input-${PV}-b"

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

	# Death to all who distribute their stinking config.cache files!
	rm -f config.cache
	epatch ${FILESDIR}/${PN}-SDL_ttf.patch
	epatch ${FILESDIR}/${PN}-cflags.patch
}

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
	prepgamesdirs
}