diff options
Diffstat (limited to 'app-emulation/uade/uade-0.91_pre3.ebuild')
-rw-r--r-- | app-emulation/uade/uade-0.91_pre3.ebuild | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/app-emulation/uade/uade-0.91_pre3.ebuild b/app-emulation/uade/uade-0.91_pre3.ebuild new file mode 100644 index 000000000000..5ee04cb1f357 --- /dev/null +++ b/app-emulation/uade/uade-0.91_pre3.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-emulation/uade/uade-0.91_pre3.ebuild,v 1.1 2004/07/21 00:14:59 spock Exp $ + +DESCRIPTION="Unix Amiga Delitracker Emulator - plays old Amiga tunes through UAE emulation and cloned m68k-assembler Eagleplayer API" +HOMEPAGE="http://uade.ton.tut.fi/" +SRC_URI="http://uade.ton.tut.fi/uade/pre/${P/_/-}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~ppc" +IUSE="xmms sdl alsa oss" + +DEPEND="dev-lang/perl + xmms? ( >=media-sound/xmms-1.2.2 x11-libs/gtk+ ) + sdl? ( media-libs/libsdl ) + alsa? ( >=media-libs/alsa-lib-1.0.5 )" + +S="${WORKDIR}/${P/_/-}" + +src_compile() { + + cd ${S} + + ./configure \ + --prefix=${D}/usr \ + --xmms-plugin-dir=${D}/usr/lib/xmms/Input \ + --docdir=${D}/usr/share/doc/${PF} \ + --without-bmp \ + `use_with oss` \ + `use_with sdl` \ + `use_with alsa` \ + `use_with xmms` \ + || die "configure failed" + + emake -j1 || die 'emake failed' +} + +src_install() { + make DESTDIR="${D}" install || die 'make install failed' + dodoc BUGS ChangeLog.txt FIXED ANTIPLANS README PLANS TESTING docs/CREDITS + + find "${D}/usr/share/doc/${PF}/" \ + \( -name '*.readme' -o \ + -name '*.txt' -o \ + -name 'INSTALL*' -o \ + -name 'README*' -o \ + -name 'Change*' \) -exec gzip -9 \{\} \; + dohtml -r "${D}/usr/share/doc/${PF}/" + rm -f "${D}/usr/share/doc/${PF}/"{COPYING,INSTALL.*.gz} + rm -f "${D}/usr/share/doc/${PF}/uade-docs/"{*.html,*.png,*.1} +} |