blob: 84c18bee81014b39a5d2c36bb908552f6837761b (
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
47
48
49
50
51
|
# Copyright 1999-2004 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.1.0.ebuild,v 1.1 2004/06/25 07:48:30 mr_bones_ Exp $
inherit games
MY_PN=${PN/-bin}
DESCRIPTION="a Monkey Target clone (six mini-game from Super Monkey Ball)"
HOMEPAGE="http://www.mtp-target.org/"
SRC_URI="http://mtptarget.free.fr/download/${MY_PN}-${PV}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86"
IUSE=""
DEPEND=""
RDEPEND="dev-libs/STLport
sys-libs/zlib
dev-libs/libxml2
virtual/x11
virtual/opengl
=media-libs/freetype-2*
media-libs/jpeg
=dev-lang/lua-5*"
S="${WORKDIR}/${MY_PN}"
src_unpack() {
unpack ${A}
cd ${S}
find . -type d -name CVS -print0 | xargs -0 rm -rf
sed "s:GENTOODIR:${GAMES_PREFIX_OPT}/${PN}:" \
"${FILESDIR}/${PN}.sh" > "${T}/${PN}-client" \
|| die "sed failed"
}
src_install() {
rm -f {client,server}/launch.sh
dodir "${GAMES_PREFIX_OPT}/${PN}"
cp -a "${S}/"* "${D}${GAMES_PREFIX_OPT}/${PN}/"
into "${GAMES_PREFIX_OPT}"
dobin "${T}/${PN}-client"
dosym ${PN}-client "${GAMES_PREFIX_OPT}/bin/${PN}-server"
dosym /usr/lib/liblualib.so "${GAMES_PREFIX_OPT}/${PN}/lib/liblualib50.so.5.0"
dosym /usr/lib/liblua.so "${GAMES_PREFIX_OPT}/${PN}/lib/liblua50.so.5.0"
prepgamesdirs
}
|