| 1 |
# Copyright 1999-2012 Gentoo Foundation
|
| 2 |
# Distributed under the terms of the GNU General Public License v2
|
| 3 |
# $Header: /var/cvsroot/gentoo-x86/games-sports/trophy/trophy-1.1.5.ebuild,v 1.5 2011/01/05 23:30:26 mr_bones_ Exp $
|
| 4 |
|
| 5 |
EAPI=2
|
| 6 |
inherit autotools eutils games
|
| 7 |
|
| 8 |
DESCRIPTION="2D Racing Game"
|
| 9 |
HOMEPAGE="http://trophy.sourceforge.net/"
|
| 10 |
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
|
| 11 |
|
| 12 |
LICENSE="GPL-2"
|
| 13 |
SLOT="0"
|
| 14 |
KEYWORDS="~amd64 x86"
|
| 15 |
IUSE=""
|
| 16 |
|
| 17 |
RDEPEND="dev-games/clanlib:0.8[opengl]"
|
| 18 |
DEPEND="${RDEPEND}
|
| 19 |
virtual/pkgconfig"
|
| 20 |
|
| 21 |
src_prepare() {
|
| 22 |
epatch \
|
| 23 |
"${FILESDIR}"/${P}-display-segv.patch \
|
| 24 |
"${FILESDIR}"/${P}-asneeded.patch
|
| 25 |
eautoreconf
|
| 26 |
}
|
| 27 |
|
| 28 |
src_install() {
|
| 29 |
emake DESTDIR="${D}" install || die "emake install failed"
|
| 30 |
dodoc AUTHORS ChangeLog README TODO
|
| 31 |
prepgamesdirs
|
| 32 |
}
|