blob: ac400f7ee8592bfc560e7cbea1856de438d5ef53 (
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
|
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-action/snipes/snipes-1.0.4.ebuild,v 1.5 2011/12/19 06:36:52 mr_bones_ Exp $
EAPI=2
inherit base eutils games
DESCRIPTION="2D scrolling shooter, resembles the old DOS game of same name"
HOMEPAGE="http://cyp.github.com/snipes/"
SRC_URI="http://cyp.github.com/snipes/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ppc x86"
IUSE=""
DEPEND="media-libs/libsdl"
PATCHES=( "${FILESDIR}"/${P}-nongnulinker.patch )
src_compile() {
tc-getLD
default
}
src_install() {
dogamesbin snipes || die "dogamesbin failed"
doman snipes.6
dodoc ChangeLog
doicon ${PN}.png
make_desktop_entry snipes "Snipes"
prepgamesdirs
}
|