summaryrefslogtreecommitdiff
blob: 74156e3b073e98139c0455946063b7c45c1a0a36 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-arcade/penguin-command/penguin-command-1.6.6.ebuild,v 1.9 2004/06/19 16:32:41 jhuebel Exp $

inherit gnuconfig games

DESCRIPTION="A clone of the classic Missile Command Game"
HOMEPAGE="http://www.linux-games.com/penguin-command/"
SRC_URI="mirror://sourceforge/penguin-command/${P}.tar.gz"
RESTRICT="nomirror"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86 ppc sparc"
IUSE="nls"

DEPEND="media-libs/libpng
	media-libs/jpeg
	>=media-libs/libsdl-1.1.5
	media-libs/sdl-mixer"

src_unpack() {
	unpack ${A}
	sed -i 's:-DUSE_SOUND::' ${S}/configure
	gnuconfig_update
}

src_install() {
	make install DESTDIR=${D} || die
	dodoc ChangeLog README NEWS AUTHORS
	use nls || rm ${D}/usr/share/man/man6/*.ja.*
	prepgamesdirs
}