/[gentoo-x86]/games-arcade/defendguin/defendguin-0.0.11.ebuild
Gentoo

Contents of /games-arcade/defendguin/defendguin-0.0.11.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.8 - (show annotations) (download)
Fri Aug 20 19:52:58 2010 UTC (10 years, 2 months ago) by mr_bones_
Branch: MAIN
CVS Tags: HEAD
Changes since 1.7: +1 -1 lines
FILE REMOVED
old
(Portage version: 2.1.8.3/cvs/Linux i686)

1 # Copyright 1999-2009 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/games-arcade/defendguin/defendguin-0.0.11.ebuild,v 1.7 2009/01/09 19:38:12 mr_bones_ Exp $
4
5 EAPI=2
6 inherit eutils toolchain-funcs games
7
8 DESCRIPTION="A clone of the arcade game Defender, but with a Linux theme"
9 HOMEPAGE="http://www.newbreedsoftware.com/defendguin/"
10 SRC_URI="ftp://ftp.billsgames.com/unix/x/${PN}/src/${P}.tar.gz"
11
12 LICENSE="GPL-2"
13 SLOT="0"
14 KEYWORDS="amd64 ppc ~sparc x86 ~x86-fbsd"
15 IUSE=""
16
17 DEPEND="media-libs/sdl-mixer[mikmod]
18 media-libs/libsdl"
19
20 src_prepare() {
21 sed -i \
22 -e "1i CC=$(tc-getCC)" \
23 -e "s:\$(DATA_PREFIX):${GAMES_DATADIR}/${PN}/:" \
24 -e "s:-Wall:-Wall ${CFLAGS}:" \
25 Makefile \
26 || die "sed failed"
27 rm -f data/images/*.sh
28 }
29
30 src_install() {
31 dogamesbin ${PN} || die "dogamesbin failed"
32 insinto "${GAMES_DATADIR}"/${PN}
33 doins -r ./data/* || die "doins failed"
34 newicon data/images/ufo/ufo0.bmp ${PN}.bmp
35 make_desktop_entry ${PN} Defendguin /usr/share/pixmaps/${PN}.bmp
36 doman src/${PN}.6
37 dodoc docs/{AUTHORS,CHANGES,README,TODO}.txt
38 prepgamesdirs
39 }

  ViewVC Help
Powered by ViewVC 1.1.20