# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/app-emulation/uade/uade-2.05.ebuild,v 1.2 2007/03/16 20:03:01 spock Exp $ inherit eutils DESCRIPTION="Unix Amiga Delitracker Emulator - plays old Amiga tunes through UAE emulation and cloned m68k-assembler Eagleplayer API" HOMEPAGE="http://zakalwe.fi/uade" SRC_URI="http://zakalwe.fi/uade/uade2/${P}.tar.bz2" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~ppc ~x86" IUSE="audacious" RDEPEND="media-libs/libao audacious? ( >=media-sound/audacious-0.2 )" DEPEND="${RDEPEND} dev-util/pkgconfig" src_unpack() { unpack ${A} cd ${S} if has_version ">=media-sound/audacious-1.3.0"; then epatch ${FILESDIR}/uade-2.05-audacious-1.3api.patch fi } src_compile() { ./configure \ --prefix=/usr \ --package-prefix="${D}" \ $(use_with audacious) \ --without-xmms \ || die "configure failed" emake || die 'emake failed' } src_install() { make install || die 'make install failed' dodoc AUTHORS ChangeLog doc/BUGS doc/PLANS doman doc/uade123.1 }