blob: c4ad08f01698a0a51b001a691c42aca1c4273ca1 (
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
|
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
inherit games
DESCRIPTION="arcade-like boat racing game combining platform jumpers and elastomania / x-moto like games"
HOMEPAGE="http://bloboats.dy.fi/"
SRC_URI="http://mirror.kapsi.fi/bloboats.dy.fi/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86"
IUSE=""
DEPEND="media-libs/libsdl
media-libs/sdl-mixer
media-libs/sdl-image
media-libs/libvorbis"
RDEPEND="${DEPEND}"
src_unpack(){
unpack ${A}
cd "${S}"
sed -i \
-e "/PREFIX/s://:${D}:" \
-e "/DATADIR/s:/usr/games/bloboats/data:${GAMES_DATADIR}:" \
-e "/BINARYDIR/s:/usr/bin:${GAMES_BINDIR}:" \
-e "/CONFIGDIR/s:/etc:${GAMES_SYSCONFDIR}:" Makefile \
|| die "sed Makefile failed"
}
src_install(){
emake PREFIX="${D}" install || die "emake install failed"
prepgamesdirs
}
|