| 1 |
# Copyright 1999-2013 Gentoo Foundation
|
| 2 |
# Distributed under the terms of the GNU General Public License v2
|
| 3 |
# $Header: /var/cvsroot/gentoo-x86/games-arcade/fishsupper/fishsupper-0.1.6.ebuild,v 1.4 2012/06/25 07:44:57 tupone Exp $
|
| 4 |
|
| 5 |
EAPI=2
|
| 6 |
inherit eutils autotools games
|
| 7 |
|
| 8 |
DESCRIPTION="A simple arcade/puzzle game, loosely based on the retro classic Frogger"
|
| 9 |
HOMEPAGE="http://sourceforge.net/projects/fishsupper/"
|
| 10 |
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
|
| 11 |
|
| 12 |
LICENSE="CC-BY-SA-2.5 GPL-3"
|
| 13 |
SLOT="0"
|
| 14 |
KEYWORDS="amd64 x86"
|
| 15 |
IUSE=""
|
| 16 |
|
| 17 |
RDEPEND="media-libs/libsdl[audio,video,opengl,X]
|
| 18 |
media-libs/sdl-image[png]
|
| 19 |
media-libs/sdl-mixer[wav]
|
| 20 |
virtual/opengl"
|
| 21 |
DEPEND="${RDEPEND}
|
| 22 |
dev-libs/boost"
|
| 23 |
|
| 24 |
src_prepare() {
|
| 25 |
epatch "${FILESDIR}"/${P}-ovflfix.patch \
|
| 26 |
"${FILESDIR}"/${P}-asneeded.patch
|
| 27 |
eautoreconf
|
| 28 |
}
|
| 29 |
|
| 30 |
src_configure() {
|
| 31 |
egamesconf \
|
| 32 |
--disable-dependency-tracking
|
| 33 |
}
|
| 34 |
|
| 35 |
src_install() {
|
| 36 |
emake DESTDIR="${D}" install || die
|
| 37 |
dodoc AUTHORS README
|
| 38 |
|
| 39 |
newicon data/images/fs_sprite_042.png ${PN}.png
|
| 40 |
make_desktop_entry ${PN} "Fish Supper"
|
| 41 |
|
| 42 |
prepgamesdirs
|
| 43 |
}
|