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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Tue Apr 5 19:28:16 2005 UTC (13 years, 3 months ago) by mr_bones_
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +1 -1 lines
FILE REMOVED
clean old files
(Portage version: 2.0.51.19)

1 # Copyright 1999-2004 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.0.1.ebuild,v 1.3 2004/06/24 22:10:43 agriffis Exp $
4
5 inherit games
6
7 DESCRIPTION="pyDance is a DDR clone for linux written in Python"
8 HOMEPAGE="http://www.icculus.org/pyddr/"
9 SRC_URI="http://www.icculus.org/pyddr/${P}.tar.gz"
10
11 LICENSE="X11"
12 SLOT="0"
13 KEYWORDS="x86 ~ppc"
14 IUSE=""
15
16 RDEPEND="dev-python/pygame
17 media-libs/libvorbis
18 media-libs/sdl-mixer"
19 DEPEND="${RDEPEND}
20 >=sys-apps/sed-4"
21 PDEPEND="games-arcade/pydance-songs"
22
23 src_unpack() {
24 unpack ${A}
25 cd ${S}
26 sed -i \
27 -e "s:/etc/:${GAMES_SYSCONFDIR}/:" \
28 constants.py docs/man/pydance.6 \
29 || die "sed failed"
30 }
31
32 src_install() {
33 local dir="${GAMES_DATADIR}/${PN}"
34
35 insinto ${dir}
36 doins *.py || die "doins failed"
37 cp -R {sound,images,utils,themes} "${D}${dir}/" || die "cp failed"
38
39 insinto ${GAMES_SYSCONFDIR}
40 newins pydance.posix.cfg pydance.cfg
41
42 games_make_wrapper pydance "python ./pydance.py" "${dir}"
43
44 dodoc BUGS CREDITS ChangeLog HACKING README TODO
45 dohtml docs/README.html
46 doman docs/man/*
47 prepgamesdirs
48 }
49
50 pkg_postinst() {
51 games_pkg_postinst
52 einfo "If you want to use a DDR pad with pyDance,"
53 einfo "all you need to do is emerge the games-arcade/ddrmat kernel module."
54 echo
55 }

  ViewVC Help
Powered by ViewVC 1.1.20