blob: 9c9f041e4eca51ed1e18054512c5b69859af96e0 (
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
|
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-strategy/castle-combat/castle-combat-0.7.4.ebuild,v 1.5 2004/07/01 05:34:11 mr_bones_ Exp $
inherit games
DESCRIPTION="A clone of the old arcade game Rampart"
HOMEPAGE="http://www.linux-games.com/castle-combat/"
SRC_URI="http://user.cs.tu-berlin.de/~karlb/castle-combat/${P}.tar.gz"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="x86"
IUSE=""
RDEPEND="virtual/libc
sys-libs/zlib
media-libs/libpng
media-libs/libsdl
media-libs/sdl-net
media-libs/sdl-mixer"
DEPEND="${RDEPEND}
>=sys-apps/sed-4"
src_unpack() {
unpack ${A}
cd ${S}
# dist file seems to include a copy of SDL_net. Take it out so we link
# against the system copy instead.
sed -i \
-e "s/SDL_net//" src/Makefile.in \
|| die "sed src/Makefile.in failed"
}
src_install() {
make DESTDIR="${D}" install || die "make install failed"
dodoc AUTHORS ChangeLog README TODO || die "dodoc failed"
prepgamesdirs
}
|