/[gentoo-x86]/games-action/formido/formido-1.0.1.ebuild
Gentoo

Contents of /games-action/formido/formido-1.0.1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Tue Mar 16 14:56:18 2010 UTC (4 years, 5 months ago) by mr_bones_
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +3 -3 lines
update HOMEPAGE (bug #309719)
(Portage version: 2.1.7.17/cvs/Linux i686)

1 # Copyright 1999-2010 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/games-action/formido/formido-1.0.1.ebuild,v 1.1 2007/03/13 18:38:18 nyhm Exp $
4
5 inherit eutils toolchain-funcs games
6
7 DESCRIPTION="A shooting game in the spirit of Phobia games"
8 HOMEPAGE="http://www.mhgames.org/oldies/formido/"
9 SRC_URI="http://noe.falzon.free.fr/prog/${P}.tar.gz
10 http://koti.mbnet.fi/lsoft/formido/formido-music.tar.bz2"
11
12 LICENSE="GPL-2"
13 SLOT=0
14 KEYWORDS="amd64 ppc x86"
15 IUSE=""
16
17 DEPEND="media-libs/libsdl
18 media-libs/sdl-image
19 media-libs/sdl-mixer"
20
21 src_unpack() {
22 unpack ${P}.tar.gz
23 cd "${S}"
24 sed -i \
25 -e "s:g++:$(tc-getCXX):" \
26 -e "/^FLAGS=/s:$: ${CXXFLAGS}:" \
27 -e "/^LINKFLAGS=/s:=.*:=${LDFLAGS}:" \
28 -e "s:\${DATDIR}:${GAMES_DATADIR}/${PN}/data:" \
29 -e "s:\${DEFCONFIGDIR}:${GAMES_DATADIR}/${PN}:" \
30 Makefile \
31 || die "sed failed"
32 cd data
33 unpack ${PN}-music.tar.bz2
34 }
35
36 src_install() {
37 dogamesbin ${PN} || die "dogamesbin failed"
38 insinto "${GAMES_DATADIR}"/${PN}
39 doins -r ${PN}.cfg data || die "doins failed"
40 newicon data/icon.dat ${PN}.bmp
41 make_desktop_entry ${PN} Formido /usr/share/pixmaps/${PN}.bmp
42 dodoc README README-1.0.1
43 prepgamesdirs
44 }

  ViewVC Help
Powered by ViewVC 1.1.20