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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.9 - (show annotations) (download)
Thu Nov 23 19:49:31 2006 UTC (13 years, 11 months ago) by nyhm
Branch: MAIN
CVS Tags: HEAD
Changes since 1.8: +1 -1 lines
FILE REMOVED
Remove old version
(Portage version: 2.1.2_rc2-r1)

1 # Copyright 1999-2006 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.10.ebuild,v 1.8 2006/09/27 18:25:49 nyhm Exp $
4
5 inherit eutils games
6 DESCRIPTION="A clone of the arcade game Defender, but with a Linux theme"
7 HOMEPAGE="http://www.newbreedsoftware.com/defendguin/"
8 SRC_URI="ftp://ftp.sonic.net/pub/users/nbs/unix/x/defendguin/src/${P}.tar.gz"
9
10 LICENSE="GPL-2"
11 SLOT="0"
12 KEYWORDS="~amd64 ppc ~sparc x86"
13 IUSE=""
14
15 DEPEND="media-libs/sdl-mixer
16 media-libs/libsdl"
17
18 pkg_setup() {
19 if ! built_with_use media-libs/sdl-mixer mikmod; then
20 die "You need to build media-libs/sdl-mixer with mikmod USE flag enabled!"
21 fi
22 games_pkg_setup
23 }
24
25 src_unpack() {
26 unpack ${A}
27 cd "${S}"
28 epatch "${FILESDIR}/${PV}-makefile.patch"
29 rm -f data/images/*.sh
30 }
31
32 src_install() {
33 dogamesbin defendguin || die "dogamesbin failed"
34 dodir "${GAMES_DATADIR}/${PN}"
35 cp -r ./data/* "${D}/${GAMES_DATADIR}/${PN}" || die "cp failed"
36 prepgamesdirs
37 }

  ViewVC Help
Powered by ViewVC 1.1.20