blob: 88ecf2a617473e1d3a502d896a5bfba90b997209 (
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
39
40
41
42
43
44
45
46
|
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-arcade/mtp-target-bin/mtp-target-bin-1.5.18.ebuild,v 1.1 2008/08/14 16:42:43 mr_bones_ Exp $
inherit games
MY_PN=${PN/-bin}
MY_PV=${PV/1.5./}
DESCRIPTION="a Monkey Target clone (six mini-game from Super Monkey Ball)"
HOMEPAGE="http://www.mtp-target.org/"
SRC_URI="http://www.mtp-target.org/files/${MY_PN}-setup.${MY_PV}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RESTRICT="strip"
QA_TEXTRELS=${GAMES_PREFIX_OPT:1}/${PN}/lib/libfmodex.so
QA_EXECSTACK=${GAMES_PREFIX_OPT:1}/${PN}/lib/libfmodex.so
DEPEND=""
RDEPEND="dev-libs/STLport
sys-libs/zlib
dev-libs/libxml2
x11-libs/libXmu
virtual/opengl
=media-libs/freetype-2*
media-libs/jpeg
dev-lang/lua"
S=${WORKDIR}/${MY_PN}
src_install() {
insinto "${GAMES_PREFIX_OPT}/${PN}/data"
doins -r data/* client/mtp_target_default.cfg || die "doins failed"
insinto "${GAMES_PREFIX_OPT}/${PN}/bin"
exeinto "${GAMES_PREFIX_OPT}/${PN}/bin"
doexe client/client
doins client/mtp_target_default.cfg
insinto "${GAMES_PREFIX_OPT}/${PN}/lib"
doins client/libfmodex.so
games_make_wrapper ${PN} ./client "${GAMES_PREFIX_OPT}/${PN}/bin" ../lib
prepgamesdirs
fperms 664 "${GAMES_PREFIX_OPT}/${PN}/bin/mtp_target_default.cfg"
}
|