/[gentoo-x86]/games-arcade/retrobattle/retrobattle-1.0.0.ebuild
Gentoo

Contents of /games-arcade/retrobattle/retrobattle-1.0.0.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Mon Jan 5 17:09:21 2015 UTC (5 years, 6 months ago) by tupone
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +6 -6 lines
EAPI 5

(Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 0145142D)

1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/games-arcade/retrobattle/retrobattle-1.0.0.ebuild,v 1.4 2014/05/15 16:31:22 ulm Exp $
4
5 EAPI=5
6 inherit eutils games
7
8 MY_P="${PN}-src-${PV}"
9 DESCRIPTION="A NES-like platform arcade game"
10 HOMEPAGE="http://remar.se/andreas/retrobattle/"
11 SRC_URI="http://remar.se/andreas/retrobattle/files/${MY_P}.tar.bz2"
12
13 LICENSE="GPL-2"
14 SLOT="0"
15 KEYWORDS="amd64 x86"
16 IUSE=""
17 # test is incomplete
18 RESTRICT="test"
19
20 DEPEND="media-libs/libsdl[X,sound,video]
21 media-libs/sdl-mixer[wav]"
22 RDEPEND="${DEPEND}"
23 S=${WORKDIR}/${MY_P}/src
24
25 src_prepare() {
26 epatch "${FILESDIR}"/${P}-{build,sound}.patch
27 }
28
29 src_install() {
30 insinto "${GAMES_DATADIR}"/${PN}
31 doins -r "${WORKDIR}"/${MY_P}/data
32
33 # wrapper to pass datadir location
34 newgamesbin "${WORKDIR}"/${MY_P}/${PN} ${PN}.bin
35 games_make_wrapper ${PN} "${PN}.bin \"${GAMES_DATADIR}/${PN}\""
36
37 make_desktop_entry ${PN}
38 dodoc "${WORKDIR}"/${MY_P}/{manual.txt,README}
39
40 prepgamesdirs
41 }

  ViewVC Help
Powered by ViewVC 1.1.20