blob: b80932723cb38e1635daf7653afde07b93da1aa9 (
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
38
39
40
41
42
43
44
45
46
47
48
49
50
|
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/vice/vice-1.11.ebuild,v 1.2 2003/03/28 07:37:27 hanno Exp $
IUSE="sdl nls gnome"
DESCRIPTION="The Versatile Commodore 8-bit Emulator"
HOMEPAGE="http://viceteam.bei.t-online.de/"
SRC_URI="ftp://ftp.funet.fi/pub/cbm/crossplatform/emulators/VICE/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86"
DEPEND=">=x11-base/xfree-4.0
sdl? ( media-libs/libsdl )
gnome? ( gnome-base/libgnomeui )"
S=${WORKDIR}/${P}
src_compile() {
local myconf="--enable-fullscreen"
use sdl && myconf="${myconf} --with-sdl"
use gnome && myconf="${myconf} --enable-gnomeui"
use nls || myconf="${myconf} --disable-nls"
./configure \
--host=${CHOST} \
--prefix=/usr \
--infodir=/usr/share/info \
--mandir=/usr/share/man ${myconf} || die "./configure failed"
emake || die
}
src_install () {
make \
prefix=${D}/usr \
mandir=${D}/usr/share/man \
infodir=${D}/usr/share/info \
install || die
dohtml ${D}/usr/lib/vice/doc/*.html
dodoc \
${D}/usr/lib/vice/doc/NLS-Howto.txt \
${D}/usr/lib/vice/doc/Readme.beos \
${D}/usr/lib/vice/doc/Readme.dos \
${D}/usr/lib/vice/doc/Win32-Howto.txt \
${D}/usr/lib/vice/doc/mon.txt
rm ${D}/usr/lib/vice/doc -rf
}
|