/[gentoo-x86]/games-action/geki3-KXL/geki3-KXL-1.0.3-r2.ebuild
Gentoo

Contents of /games-action/geki3-KXL/geki3-KXL-1.0.3-r2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Mon Jul 16 19:41:47 2012 UTC (2 years, 5 months ago) by mr_bones_
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +7 -7 lines
EAPI=2; respect CFLAGS (bug #426890)

(Portage version: 2.1.10.65/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-action/geki3-KXL/geki3-KXL-1.0.3-r2.ebuild,v 1.4 2011/12/05 08:46:26 mr_bones_ Exp $
4
5 EAPI=2
6 inherit autotools eutils games
7
8 DESCRIPTION="2D length scroll shooting game"
9 HOMEPAGE="http://triring.net/ps2linux/games/kxl/kxlgames.html"
10 SRC_URI="mirror://gentoo/${P}.tar.gz
11 mirror://gentoo/${PN}.png"
12
13 LICENSE="GPL-2"
14 SLOT="0"
15 KEYWORDS="amd64 x86"
16 IUSE=""
17
18 DEPEND="dev-games/KXL"
19 RDEPEND="${DEPEND}
20 media-fonts/font-adobe-100dpi"
21
22 src_prepare() {
23 rm -f missing
24 sed -i \
25 -e '1i #include <string.h>' \
26 -e "s:DATA_PATH \"/.score\":\"${GAMES_STATEDIR}/${PN}\":" \
27 src/ranking.c \
28 || die "sed failed"
29 sed -i -e '/CFLAGS/s/$/ @CFLAGS@/' src/Makefile.am || die #bug 426890
30 epatch "${FILESDIR}"/${P}-paths.patch
31 eautoreconf
32 }
33
34 src_install() {
35 emake DESTDIR="${D}" install || die
36 insinto "${GAMES_STATEDIR}"
37 newins data/.score ${PN} || die
38 fperms g+w "${GAMES_STATEDIR}"/${PN}
39 doicon "${DISTDIR}"/${PN}.png
40 make_desktop_entry geki3 Geki3
41 dodoc ChangeLog README
42 prepgamesdirs
43 }

  ViewVC Help
Powered by ViewVC 1.1.20