# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/app-emulation/uade/uade-2.01.ebuild,v 1.4 2006/03/06 18:17:14 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.virtuaalipalvelin.net/uade" SRC_URI="http://zakalwe.virtuaalipalvelin.net/uade/uade2/${P}.tar.bz2" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86 ~ppc ~amd64" IUSE="xmms" RDEPEND="virtual/libc media-libs/libao xmms? ( >=media-sound/xmms-1.2.2 )" DEPEND="${RDEPEND}" src_unpack() { unpack ${A} cd ${S} epatch ${FILESDIR}/${P}-pkgprefix.patch } src_compile() { ./configure \ --prefix=/usr \ --package-prefix="${D}" \ $(use_with 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 }