diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2004-04-11 04:35:08 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2004-04-11 04:35:08 +0000 |
commit | 9387173692bdfc230d8ce3d84f4bde2333d3f9d8 (patch) | |
tree | 5481aac278306fe918160ef4e5a5e8c827d556be /games-arcade/pydance/pydance-1.0.1.ebuild | |
parent | forgot some pngs - digest fix (diff) | |
download | gentoo-2-9387173692bdfc230d8ce3d84f4bde2333d3f9d8.tar.gz gentoo-2-9387173692bdfc230d8ce3d84f4bde2333d3f9d8.tar.bz2 gentoo-2-9387173692bdfc230d8ce3d84f4bde2333d3f9d8.zip |
version bump (bug #43921)
Diffstat (limited to 'games-arcade/pydance/pydance-1.0.1.ebuild')
-rw-r--r-- | games-arcade/pydance/pydance-1.0.1.ebuild | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/games-arcade/pydance/pydance-1.0.1.ebuild b/games-arcade/pydance/pydance-1.0.1.ebuild new file mode 100644 index 000000000000..094d1a55d09e --- /dev/null +++ b/games-arcade/pydance/pydance-1.0.1.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-arcade/pydance/pydance-1.0.1.ebuild,v 1.1 2004/04/11 04:35:08 mr_bones_ Exp $ + +inherit games + +DESCRIPTION="pyDance is a DDR clone for linux written in Python" +HOMEPAGE="http://www.icculus.org/pyddr/" +SRC_URI="http://www.icculus.org/pyddr/${P}.tar.gz" + +LICENSE="X11" +SLOT="0" +KEYWORDS="x86" +IUSE="" + +RDEPEND="dev-python/pygame + media-libs/libvorbis + media-libs/sdl-mixer" +DEPEND="${RDEPEND} + >=sys-apps/sed-4" +PDEPEND="games-arcade/pydance-songs" + +src_unpack() { + unpack ${A} + cd ${S} + sed -i \ + -e "s:/etc/:${GAMES_SYSCONFDIR}/:" \ + constants.py docs/man/pydance.6 \ + || die "sed failed" +} + +src_install() { + local dir="${GAMES_DATADIR}/${PN}" + + insinto ${dir} + doins *.py || die "doins failed" + cp -R {sound,images,utils,themes} "${D}${dir}/" || die "cp failed" + + insinto ${GAMES_SYSCONFDIR} + newins pydance.posix.cfg pydance.cfg + + games_make_wrapper pydance "python ./pydance.py" "${dir}" + + dodoc BUGS CREDITS ChangeLog HACKING README TODO + dohtml docs/README.html + doman docs/man/* + prepgamesdirs +} + +pkg_postinst() { + games_pkg_postinst + einfo "If you want to use a DDR pad with pyDance," + einfo "all you need to do is emerge the games-arcade/ddrmat kernel module." + echo +} |