blob: 9323971400458ee4c1456bc26939682aa336a09d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/spectemu/spectemu-0.99.3.ebuild,v 1.3 2005/04/22 19:48:25 rphillips Exp $
### Several versions of specemu exist, xspect & vgaspect, utilising X11
### and/or svgalib. libreadline provides optional runtime features.
### The ./configure script automagically figures out which binaries to build
### so the run/compiletime dependancies here are use dependant
DESCRIPTION="48k ZX Spectrum Emulator"
HOMEPAGE="http://kempelen.iit.bme.hu/~mszeredi/spectemu/spectemu.html"
SRC_URI="http://www.inf.bme.hu/~mszeredi/spectemu/${P}.tar.gz"
LICENSE="|| ( GPL-2 LGPL-2 )"
SLOT="0"
KEYWORDS="~x86 ~ppc"
IUSE="X readline svga"
DEPEND="X? ( virtual/x11 )
readline? ( sys-libs/readline )"
RDEPEND="svga? ( media-libs/svgalib )"
src_compile() {
local myflags
use X || myflags="${myflags} --with-x=no"
use readline || myflags="${myflags} --without-readline"
myflags="${myflags} --mandir=${D}/usr/share/man/"
econf ${myflags} || die "Spectemu ./configure failed"
emake || die "Spectemu make failed"
}
src_install() {
einstall
}
|