summaryrefslogtreecommitdiff
blob: 36867c7453f61172f36fed0f7469fd7581a2467b (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
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI=4

inherit eutils autotools games

DESCRIPTION="A game resembling Thrust, but with lots of shooting and puzzles"
HOMEPAGE="http://www.markboyd.me.uk/games/flyhard/flyhard.html" # returns 404
SRC_URI="http://mirror.amdmi3.ru/distfiles/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

RDEPEND="media-libs/libpng:0
	media-libs/libsdl[sound]
	media-libs/sdl-mixer[wav]"
DEPEND="${RDEPEND}
	dev-libs/boost"

src_prepare() {
	epatch "${FILESDIR}/${P}-Makefile.patch"
	# Needed for automake-1.13
	mv configure.in configure.ac || die
	eautoreconf
}

src_install() {
	default
	prepgamesdirs
}