/[gentoo-x86]/games-arcade/methane/methane-1.5.1.ebuild
Gentoo

Contents of /games-arcade/methane/methane-1.5.1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Fri Jan 18 09:40:41 2013 UTC (7 years, 6 months ago) by mr_bones_
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +2 -2 lines
stable for amd64 and x86 (bug #449898)

(Portage version: 2.1.11.31/cvs/Linux x86_64, unsigned Manifest commit)

1 # Copyright 1999-2013 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/games-arcade/methane/methane-1.5.1.ebuild,v 1.4 2013/01/05 20:01:28 hasufell Exp $
4
5 EAPI=4
6 inherit eutils games
7
8 DESCRIPTION="Port from an old amiga game"
9 HOMEPAGE="http://methane.sourceforge.net/"
10 SRC_URI="mirror://sourceforge/${PN}/${P}.tgz"
11
12 LICENSE="GPL-2"
13 SLOT="0"
14 KEYWORDS="amd64 x86"
15 IUSE=""
16
17 RDEPEND="dev-games/clanlib:2.3[opengl,mikmod]"
18 DEPEND="${RDEPEND}
19 virtual/pkgconfig"
20
21 src_prepare() {
22 epatch "${FILESDIR}"/${P}-gentoo.patch
23 sed -i \
24 -e "s:@GENTOO_DATADIR@:${GAMES_DATADIR}:" \
25 sources/target.cpp
26
27 # fix weird parallel make issue wrt #450422
28 mkdir build || die
29 }
30
31 src_install() {
32 dogamesbin methane
33 insinto "${GAMES_DATADIR}"/${PN}
34 doins resources/*
35 dodir "${GAMES_STATEDIR}"
36 touch "${D}/${GAMES_STATEDIR}"/methanescores
37 fperms g+w "${GAMES_STATEDIR}"/methanescores
38 newicon docs/puff.gif ${PN}.gif
39 make_desktop_entry ${PN} "Super Methane Brothers" /usr/share/pixmaps/${PN}.gif
40 dodoc authors.txt history.txt readme.txt
41 dohtml docs/*
42 prepgamesdirs
43 }

  ViewVC Help
Powered by ViewVC 1.1.20