/[gentoo-x86]/games-arcade/pydance/pydance-1.1.0.ebuild
Gentoo

Contents of /games-arcade/pydance/pydance-1.1.0.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.7 - (show annotations) (download)
Thu Mar 12 10:07:46 2015 UTC (3 years, 5 months ago) by ago
Branch: MAIN
CVS Tags: HEAD
Changes since 1.6: +2 -2 lines
Stable for amd64, wrt bug #542972

(Portage version: 2.2.14/cvs/Linux x86_64, RepoMan options: --include-arches="amd64", signed Manifest commit with key 7194459F)

1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/games-arcade/pydance/pydance-1.1.0.ebuild,v 1.6 2015/02/06 05:37:42 mr_bones_ Exp $
4
5 EAPI=5
6 inherit eutils games
7
8 DESCRIPTION="a DDR clone for linux written in Python"
9 HOMEPAGE="http://www.icculus.org/pyddr/"
10 SRC_URI="http://www.icculus.org/pyddr/${P}.tar.gz"
11
12 LICENSE="MIT"
13 SLOT="0"
14 KEYWORDS="amd64 ppc x86"
15 IUSE=""
16
17 DEPEND="dev-python/pygame
18 media-libs/libvorbis
19 media-libs/sdl-mixer"
20 RDEPEND=${DEPEND}
21 PDEPEND="games-arcade/pydance-songs"
22
23 src_prepare() {
24 sed -i \
25 -e "s:1\.0\.1:1.0.2:" \
26 -e "s:/etc/:${GAMES_SYSCONFDIR}/:" \
27 pydance.py constants.py docs/man/pydance.6 || die
28 }
29
30 src_install() {
31 local dir=${GAMES_DATADIR}/${PN}
32
33 insinto "${dir}"
34 doins *.py
35 cp -R CREDITS {sound,images,utils,themes} "${D}${dir}/" || die
36
37 insinto "${GAMES_SYSCONFDIR}"
38 newins pydance.posix.cfg pydance.cfg
39
40 games_make_wrapper pydance "python2 ./pydance.py" "${dir}"
41
42 dodoc BUGS CREDITS ChangeLog HACKING README TODO
43 dohtml -r docs/manual.html docs/images
44 doman docs/man/*
45 prepgamesdirs
46 }
47
48 pkg_postinst() {
49 games_pkg_postinst
50 echo
51 elog "If you want to use a DDR pad with pyDance,"
52 elog "all you need to do is emerge the games-arcade/ddrmat kernel module."
53 echo
54 }

  ViewVC Help
Powered by ViewVC 1.1.20