diff options
Diffstat (limited to 'games-arcade/bloboats/bloboats-1.0.1.ebuild')
-rw-r--r-- | games-arcade/bloboats/bloboats-1.0.1.ebuild | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/games-arcade/bloboats/bloboats-1.0.1.ebuild b/games-arcade/bloboats/bloboats-1.0.1.ebuild new file mode 100644 index 000000000..c4ad08f01 --- /dev/null +++ b/games-arcade/bloboats/bloboats-1.0.1.ebuild @@ -0,0 +1,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 +} |