|
From: Tapio V. <aa...@us...> - 2010-08-04 15:01:15
|
Module: performous Branch: portaudio Commit: 1f900d6846e241ba04623747f25adc66fda5b7bb Author: Vincent Le Ligeour <yo...@us...> Date: Tue Jul 27 23:59:29 2010 +0200 Added EditorOfFire ebuild --- portage-overlay/games-arcade/eof/eof-1.65.ebuild | 45 ++++++++++++++++++++++ 1 files changed, 45 insertions(+), 0 deletions(-) diff --git a/portage-overlay/games-arcade/eof/eof-1.65.ebuild b/portage-overlay/games-arcade/eof/eof-1.65.ebuild new file mode 100644 index 0000000..387898b --- /dev/null +++ b/portage-overlay/games-arcade/eof/eof-1.65.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=3 + +inherit games + +DESCRIPTION="Song editor for the game Frets On Fire" +HOMEPAGE="http://www.t3-i.com/eof.htm" +SRC_URI="http://www.t3-i.com/apps/${PN}/downloads/${PN}-${PV}-linux.tar.gz" + +LICENSE="" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +DEPEND=" + media-libs/allegro + media-sound/vorbis-tools + media-sound/lame +" +RDEPEND="${DEPEND}" + +src_compile() { + cd "${WORKDIR}/src/" + emake -f makefile.linux || die "emake failed" +} + +src_install() { + cd "${WORKDIR}" + cat >> bin/eof.script <<-EOF + #!/bin/bash + TMP_DIR=\`mktemp -d || echo "/tmp/falback"\` + echo ">> Using \\"\${TMP_DIR}\\" as temporary location" + cp /usr/share/eof/* "\${TMP_DIR}" + cd "\${TMP_DIR}" + eof.bin + rm -rf "\${TMP_DIR}" + EOF + newbin bin/eof eof.bin + newbin bin/eof.script eof + insinto "/usr/share/${PN}" + doins bin/eof.dat bin/check.wav +} |