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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.7 - (show annotations) (download)
Sun Jan 4 08:54:21 2015 UTC (5 years, 7 months ago) by tupone
Branch: MAIN
CVS Tags: HEAD
Changes since 1.6: +6 -5 lines
EAPI 5

(Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 0145142D)

1 # Copyright 1999-2015 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.12.ebuild,v 1.6 2012/09/05 07:13:37 mr_bones_ Exp $
4
5 EAPI=5
6 inherit eutils 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.tuxpaint.org/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[mod]
18 media-libs/libsdl[video]"
19 RDEPEND="${DEPEND}"
20
21 src_prepare() {
22 sed -i \
23 -e "s:\$(DATA_PREFIX):${GAMES_DATADIR}/${PN}/:" \
24 -e '/^CFLAGS=.*-O2/d' \
25 -e '/^CFLAGS=/s:=:+= $(LDFLAGS) :' \
26 Makefile \
27 || die
28 rm -f data/images/*.sh
29 }
30
31 src_install() {
32 dogamesbin ${PN}
33 insinto "${GAMES_DATADIR}"/${PN}
34 doins -r ./data/*
35 newicon data/images/ufo/ufo0.bmp ${PN}.bmp
36 make_desktop_entry ${PN} Defendguin /usr/share/pixmaps/${PN}.bmp
37 doman src/${PN}.6
38 dodoc docs/{AUTHORS,CHANGES,README,TODO}.txt
39 prepgamesdirs
40 }

  ViewVC Help
Powered by ViewVC 1.1.20