/[gentoo-x86]/games-action/orbital-eunuchs-sniper/orbital-eunuchs-sniper-1.30.ebuild
Gentoo

Contents of /games-action/orbital-eunuchs-sniper/orbital-eunuchs-sniper-1.30.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Wed Apr 30 20:40:58 2008 UTC (5 years, 11 months ago) by nyhm
Branch: MAIN
Changes since 1.3: +4 -2 lines
Fix building with gcc-4.3
(Portage version: 2.1.5_rc6)

1 # Copyright 1999-2008 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/games-action/orbital-eunuchs-sniper/orbital-eunuchs-sniper-1.30.ebuild,v 1.3 2008/03/19 01:11:21 nyhm Exp $
4
5 inherit autotools eutils games
6
7 MY_P=${PN//-/_}-${PV}
8 DESCRIPTION="Snipe terrorists from your orbital base"
9 HOMEPAGE="http://icculus.org/oes/"
10 SRC_URI="http://filesingularity.timedoctor.org/${MY_P}.tar.gz"
11
12 LICENSE="ZLIB"
13 SLOT="0"
14 KEYWORDS="~amd64 ppc x86"
15 IUSE=""
16
17 DEPEND="media-libs/libsdl
18 media-libs/sdl-mixer
19 media-libs/sdl-image"
20
21 S=${WORKDIR}/${MY_P}
22
23 src_unpack() {
24 unpack ${A}
25 cd "${S}"
26 epatch \
27 "${FILESDIR}"/${P}-datadir.patch \
28 "${FILESDIR}"/${P}-gcc43.patch
29 eautoreconf
30 }
31
32 src_install() {
33 emake DESTDIR="${D}" install || die "emake install failed"
34 dodoc AUTHORS ChangeLog readme.txt README TODO
35 prepgamesdirs
36 }

  ViewVC Help
Powered by ViewVC 1.1.20