blob: 7a990e7b259f80299409666e504f9cd2b419d913 (
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
|
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-arcade/holotz-castle/holotz-castle-1.3.6.ebuild,v 1.1 2005/05/06 23:27:54 vapier Exp $
inherit eutils games
DESCRIPTION="2d platform jump'n'run game"
HOMEPAGE="http://www.mainreactor.net/holotzcastle/en/index_en.html"
SRC_URI="http://www.mainreactor.net/holotzcastle/download/${P}-src.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND="virtual/opengl
media-libs/sdl-mixer
media-libs/libsdl
media-libs/sdl-ttf
media-libs/sdl-image"
S=${WORKDIR}/${P}-src
src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}"/${P}-build.patch
}
src_compile() {
for d in JLib src ; do
emake -C ${d} CPU_OPTS="${CXXFLAGS}" || die "${d} failed"
done
}
src_install() {
dogamesbin holotz-castle holotz-castle-editor || die "dobin"
insinto "${GAMES_DATADIR}"/${PN}/game
doins -r HCedHome/* res/* || die "doins"
dodoc MANUAL*.txt
doman doc/*.6
prepgamesdirs
}
|