blob: 432dd13b4e584b9d24eade2a59cad50513536388 (
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
52
53
|
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-fps/sauerbraten/sauerbraten-2006.09.12.ebuild,v 1.1 2006/09/19 05:57:32 vapier Exp $
inherit eutils games
DESCRIPTION="free multiplayer/singleplayer first person shooter (major redesign of the Cube FPS)"
HOMEPAGE="http://sauerbraten.org/"
SRC_URI="mirror://sourceforge/sauerbraten/sauerbraten_${PV//./_}_water_edition_linux.tar.gz"
LICENSE="ZLIB"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND="media-libs/libsdl
media-libs/sdl-mixer
media-libs/sdl-image
media-libs/libpng
sys-libs/zlib
virtual/opengl"
S=${WORKDIR}/${PN}
src_unpack() {
unpack ${A}
find -name CVS -print0 | xargs -0 rm -rf
}
src_compile() {
echo eat
}
src_install() {
exeinto "${GAMES_LIBDIR}"/${PN}
doexe bin_unix/linux_{client,server} || die
insinto "${GAMES_DATADIR}"
doins -r data packages || die
local x
for x in client server ; do
newgamesbin "${FILESDIR}"/wrapper ${PN}_${x}-bin || die
sed -i \
-e "s:@GENTOO_GAMESDIR@:${GAMES_DATADIR}:g" \
-e "s:@GENTOO_EXEC@:${GAMES_LIBDIR}/${PN}/linux_${x}:g" \
"${D}/${GAMES_BINDIR}"/${PN}_${x}-bin
done
dohtml -r README.html docs/*
prepgamesdirs
}
|