/[gentoo-x86]/games-puzzle/flobopuyo/flobopuyo-0.20-r1.ebuild
Gentoo

Contents of /games-puzzle/flobopuyo/flobopuyo-0.20-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.9 - (show annotations) (download)
Tue Sep 4 22:21:54 2012 UTC (19 months, 1 week ago) by mr_bones_
Branch: MAIN
CVS Tags: HEAD
Changes since 1.8: +6 -6 lines
any mod support will do

(Portage version: 2.1.11.9/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-puzzle/flobopuyo/flobopuyo-0.20-r1.ebuild,v 1.8 2009/01/19 18:56:06 mr_bones_ Exp $
4
5 EAPI=2
6 inherit toolchain-funcs eutils games
7
8 DESCRIPTION="Clone of the famous PuyoPuyo game"
9 HOMEPAGE="http://www.ios-software.com/?page=projet&quoi=29"
10 SRC_URI="http://www.ios-software.com/flobopuyo/${P}.tgz
11 mirror://gentoo/${PN}.png"
12
13 LICENSE="GPL-2"
14 SLOT="0"
15 KEYWORDS="amd64 ppc x86 ~x86-fbsd"
16 IUSE="opengl"
17
18 DEPEND="media-libs/libsdl
19 media-libs/sdl-image[jpeg,png]
20 media-libs/sdl-mixer[mod]
21 opengl? ( virtual/opengl )"
22
23 src_prepare() {
24 epatch \
25 "${FILESDIR}"/${P}-gcc4.patch \
26 "${FILESDIR}"/${P}-gcc41.patch \
27 "${FILESDIR}"/${P}-libs.patch
28
29 find . -type f -name ".*" -exec rm -f \{\} \;
30 sed -i \
31 -e "s:^DATADIR=.*:DATADIR=\"${GAMES_DATADIR}/${PN}\":" \
32 -e "/^INSTALL_BINDIR/s:/\$(PREFIX)/games:${GAMES_BINDIR}:" \
33 Makefile \
34 || die
35 }
36
37 src_compile() {
38 emake CXX="$(tc-getCXX)" \
39 ENABLE_OPENGL="$(use opengl && echo true || echo false)" \
40 || die
41 }
42
43 src_install() {
44 emake DESTDIR="${D}" install || die
45 dodoc Changelog TODO
46 doman man/flobopuyo.6
47 doicon "${DISTDIR}/${PN}.png"
48 make_desktop_entry flobopuyo FloboPuyo
49 prepgamesdirs
50 }

  ViewVC Help
Powered by ViewVC 1.1.20