/[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.2 - (show annotations) (download)
Fri May 7 21:08:02 2010 UTC (10 years, 5 months ago) by mr_bones_
Branch: MAIN
Changes since 1.1: +2 -2 lines
add use dep for libsdl
(Portage version: 2.1.8.3/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-arcade/defendguin/defendguin-0.0.12.ebuild,v 1.1 2010/04/06 21:29:48 nyhm Exp $
4
5 EAPI=2
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[mikmod]
18 media-libs/libsdl[video]"
19
20 src_prepare() {
21 sed -i \
22 -e "s:\$(DATA_PREFIX):${GAMES_DATADIR}/${PN}/:" \
23 -e '/^CFLAGS=.*-O2/d' \
24 -e '/^CFLAGS=/s:=:+= $(LDFLAGS) :' \
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