diff options
author | Ryan Phillips <rphillips@gentoo.org> | 2002-10-09 22:45:26 +0000 |
---|---|---|
committer | Ryan Phillips <rphillips@gentoo.org> | 2002-10-09 22:45:26 +0000 |
commit | de7ce58e709b25a386a86c35b9e0da89d34d6c77 (patch) | |
tree | ea3d1f3375b45552dc28df630a3de7acd572ef4b /app-emulation/uae/uae-0.8.22.ebuild | |
parent | added ppc to keywords (diff) | |
download | historical-de7ce58e709b25a386a86c35b9e0da89d34d6c77.tar.gz historical-de7ce58e709b25a386a86c35b9e0da89d34d6c77.tar.bz2 historical-de7ce58e709b25a386a86c35b9e0da89d34d6c77.zip |
New package. Fixes #5893
Diffstat (limited to 'app-emulation/uae/uae-0.8.22.ebuild')
-rw-r--r-- | app-emulation/uae/uae-0.8.22.ebuild | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/app-emulation/uae/uae-0.8.22.ebuild b/app-emulation/uae/uae-0.8.22.ebuild new file mode 100644 index 000000000000..99ef7dec4ab3 --- /dev/null +++ b/app-emulation/uae/uae-0.8.22.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-emulation/uae/uae-0.8.22.ebuild,v 1.1 2002/10/09 22:45:26 rphillips Exp $ + +S=${WORKDIR}/${P} +DESCRIPTION="An amiga emulator" +HOMEPAGE="http://www.freiburg.linux.de/~uae/" +LICENSE="GPL" +DEPEND="X? ( virtual/x11 gtk? ( x11-libs/gtk+ ) ) : ( sys-libs/ncurses svgalib? ( media-libs/svgalib ) ) + sdl? media-libs/libsdl" +SRC_URI="ftp://ftp.freiburg.linux.de/pub/uae/sources/develop/${P}.tar.gz" +SLOT="0" +KEYWORDS="x86" + + +src_compile() { + local myopt + myopt=""; + + if [ `use X` ]; + then + myopt="--with-x --enable-dga --enable-vidmode\ + --with-sdl --with-sdl-sound --with-sdl-gfx"; + + use gtk && myopt="$myopt --enable-ui"; + use gtk || myopt="$myopt --disable-ui"; + else + if [ `use svgalib` ]; + then + myopt="--with-svgalib"; + else + myopt="--with-asciiart"; + fi + fi + + patch -p0 < ${FILESDIR}/uae-patch.diff + ./configure \ + --host=${CHOST} \ + --prefix=/usr \ + --enable-threads \ + --enable-scsi-device \ + ${myopt} || die "./configure failed" + + emake || die +} + +src_install () { + dobin uae readdisk + mv docs/unix/README docs/README.unix + dodoc docs/* + + insinto /usr/share/uae/amiga-tools + doins amiga/{*hack,trans*,uae*} +} + |