blob: acf67c9706984cb7e1d03a3c5eb852039a65e1bb (
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-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-arcade/solarwolf/solarwolf-1.5.ebuild,v 1.19 2012/08/24 07:14:07 mr_bones_ Exp $
EAPI=2
inherit eutils games
DESCRIPTION="action/arcade recreation of SolarFox"
HOMEPAGE="http://www.pygame.org/shredwheat/solarwolf/"
SRC_URI="http://www.pygame.org/shredwheat/solarwolf/${P}.tar.gz"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="alpha amd64 hppa ppc sparc x86"
IUSE=""
RDEPEND=">=dev-python/pygame-1.5.6
media-libs/sdl-mixer[mod,vorbis]"
src_prepare() {
find . -name .xvpics -print0 | xargs -0 rm -fr
}
src_install() {
insinto "$(games_get_libdir)"/${PN}
doins -r code data *py || die "doins lib failed"
games_make_wrapper ${PN} "python ./solarwolf.py" "$(games_get_libdir)"/${PN}
doicon dist/${PN}.png
make_desktop_entry ${PN} SolarWolf
dodoc readme.txt
doman dist/${PN}.6.gz
prepgamesdirs
}
|