/[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 - (hide annotations) (download)
Sun Jan 4 08:54:21 2015 UTC (5 years, 9 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 tupone 1.7 # Copyright 1999-2015 Gentoo Foundation
2 nyhm 1.1 # Distributed under the terms of the GNU General Public License v2
3 tupone 1.7 # $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 nyhm 1.1
5 tupone 1.7 EAPI=5
6 nyhm 1.1 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 josejx 1.5 KEYWORDS="amd64 ppc ~sparc x86 ~x86-fbsd"
15 nyhm 1.1 IUSE=""
16    
17 mr_bones_ 1.6 DEPEND="media-libs/sdl-mixer[mod]
18 mr_bones_ 1.2 media-libs/libsdl[video]"
19 tupone 1.7 RDEPEND="${DEPEND}"
20 nyhm 1.1
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 mr_bones_ 1.6 || die
28 nyhm 1.1 rm -f data/images/*.sh
29     }
30    
31     src_install() {
32 tupone 1.7 dogamesbin ${PN}
33 nyhm 1.1 insinto "${GAMES_DATADIR}"/${PN}
34 tupone 1.7 doins -r ./data/*
35 nyhm 1.1 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