/[gentoo-x86]/games-arcade/amphetamine/amphetamine-0.8.10.ebuild
Gentoo

Contents of /games-arcade/amphetamine/amphetamine-0.8.10.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.10 - (show annotations) (download)
Sun Jul 8 00:20:49 2012 UTC (2 years, 2 months ago) by tristan
Branch: MAIN
Changes since 1.9: +10 -15 lines
Fix makefile with a patch instead of sed, bug #424213

(Portage version: 2.2.0_alpha116/cvs/Linux x86_64)

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-arcade/amphetamine/amphetamine-0.8.10.ebuild,v 1.9 2010/01/07 21:47:36 josejx Exp $
4
5 EAPI=2
6 inherit eutils games
7
8 DESCRIPTION="a cool Jump'n Run game offering some unique visual effects"
9 HOMEPAGE="http://homepage.hispeed.ch/loehrer/amph/amph.html"
10 SRC_URI="http://homepage.hispeed.ch/loehrer/amph/files/${P}.tar.bz2
11 http://homepage.hispeed.ch/loehrer/amph/files/${PN}-data-0.8.6.tar.bz2"
12
13 LICENSE="GPL-2"
14 SLOT="0"
15 KEYWORDS="amd64 ppc x86 ~x86-fbsd"
16 IUSE=""
17
18 DEPEND="media-libs/libsdl[audio,video]
19 x11-libs/libXpm"
20
21 PATCHES=(
22 "${FILESDIR}"/${P}-build.patch
23 "${FILESDIR}"/${P}-64bit.patch
24 )
25
26 src_compile() {
27 emake INSTALL_DIR="${GAMES_DATADIR}"/${PN} || die
28 }
29
30 src_install() {
31 newgamesbin amph ${PN} || die "newgamesbin failed"
32 insinto "${GAMES_DATADIR}"/${PN}
33 doins -r ../amph/* || die "doins failed"
34 newicon amph.xpm ${PN}.xpm
35 make_desktop_entry ${PN} Amphetamine ${PN}
36 dodoc BUGS ChangeLog NEWS README
37 prepgamesdirs
38 }

  ViewVC Help
Powered by ViewVC 1.1.20