# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit games DESCRIPTION="A retro styled side scrolling shoot'em up arcade game based on the editor war story." HOMEPAGE="http://wordwarvi.sourceforge.net" SRC_URI="mirror://sourceforge/wordwarvi/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64" IUSE="portaudio" # Portaudio >=0.19 is needed for sound. DEPEND=">=x11-libs/gtk+-2.0 dev-libs/atk x11-libs/pango portaudio? media-libs/libvorbis portaudio? media-libsvorbis-tools portaudio? >=media-libs/portaudio-0.19 " RDEPEND="" src_compile() { if ! use portaudio ; then emake WITHAUDIO=no fi if use portaudio ; then emake fi } src_install() { if ! use portaudio ; then emake WITHAUDIO=no DESTDIR="${D}" install fi if use portaudio ; then emake DESTDIR="${D}" install fi dodoc README AUTHORS changelog.txt prepgamesdirs }