summaryrefslogtreecommitdiff
blob: a653a1d258295a2c9ae5fb79c1e53fcfadb75734 (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
# Copyright 1999-2003 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.4.ebuild,v 1.1 2003/09/09 16:26:49 vapier Exp $

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/"

SLOT="0"
LICENSE="GPL-2"
KEYWORDS="x86 -ppc -sparc"

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

src_compile() {
	cd ${S}/SDL_ttf2
	rm config.cache
	cp SDL_ttf.h ${S}
	econf || die
	emake || die "emake failed in ${S}/SDL_ttf2"
	cd ${S}
	emake || die "emake failed in ${S}"
}

src_install() {
	dodir /usr/lib/mupen64/plugins
	insinto /usr/lib/mupen64/plugins
	doins blight_input.so
}