blob: 6f0e739c223cec09e558eaba18c16f909683c1d1 (
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-arcade/gnujump/gnujump-1.0.0.ebuild,v 1.2 2008/09/18 09:19:35 tupone Exp $
inherit eutils games
MY_PN=sdljump
MY_P=${MY_PN}-${PV}
DESCRIPTION="Xjump clone with added features"
HOMEPAGE="http://www.gnu.org/software/gnujump/"
SRC_URI="http://download.savannah.gnu.org/releases/${PN}/${MY_P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE=""
DEPEND="media-libs/libsdl
media-libs/sdl-image
media-libs/sdl-mixer
virtual/opengl
virtual/glu
x11-libs/libX11
x11-libs/libXau
x11-libs/libXdmcp
x11-libs/libXext"
S="${WORKDIR}"/${MY_P}
src_unpack() {
unpack ${A}
cd "${S}"
sed -i \
-e 's/\\n//' sdljump.6 \
|| die "sed failed"
epatch "${FILESDIR}"/${P}-configure.patch
}
src_install() {
emake DESTDIR="${D}" install || die "emake install failed"
dodoc AUTHORS ChangeLog README
newicon skins/xjump/hero1.0.png ${PN}.png
make_desktop_entry ${MY_PN} "SDLjump"
prepgamesdirs
}
|