# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ IUSE="" inherit eutils multilib toolchain-funcs RESTRICT="nomirror" DESCRIPTION="A synthesised pipe organ emulator by Fons Adriaensen " HOMEPAGE="http://users.skynet.be/solaris/linuxaudio/aeolus.html" SRC_URI="http://users.skynet.be/solaris/linuxaudio/downloads/${P}.tar.bz2" LICENSE="GPL-2" SLOT="0" KEYWORDS="amd64 ~ppc sparc x86" DEPEND="|| ( x11-libs/libX11 virtual/x11 ) >=media-libs/libclxclient-1.0.2 >=media-libs/libclalsadrv-1.0.3 >=media-libs/stops-0.1.1" src_unpack() { unpack ${A} cd ${S} sed -i -e 's:-I/usr/local/include:-I/usr/include:g' ${S}/Makefile || die epatch "${FILESDIR}/${P}-gcc4-fix.patch" } src_compile() { emake || die "emake failed" } src_install() { gzip .aeolusrc || die dobin aeolus insinto "/usr/share/${P}" doins .aeolusrc.gz dodoc AUTHORS COPYING README INSTALL }