blob: 20135143df8d7328cedc8865615d36378fbc1665 (
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
51
52
53
54
|
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/i8086emu/i8086emu-0.9.1.ebuild,v 1.4 2004/06/24 22:32:40 agriffis Exp $
inherit eutils
DESCRIPTION="Emulator for the Intel 8086 microprocessor"
HOMEPAGE="http://i8086emu.sourceforge.net"
SRC_URI="mirror://sourceforge/i8086emu/i8086emu-src-${PV}.tar.bz2"
RESTRICT="nomirror"
S=${WORKDIR}/i8086emu-src-${PV}
LICENSE="GPL-2"
SLOT="0"
#KEYWORDS="x86 ~alpha ~amd64"
KEYWORDS="x86 ~ppc"
IUSE="X"
RDEPEND="sys-libs/ncurses
virtual/glibc
X? ( dev-libs/glib
dev-libs/atk
media-libs/fontconfig
x11-libs/pango
virtual/x11
media-libs/freetype
sys-libs/zlib
dev-libs/expat
>=x11-libs/gtk+-2.0.0 )"
DEPEND="${RDEPEND}
sys-devel/gcc
sys-devel/autoconf
dev-util/pkgconfig"
src_unpack() {
unpack ${A}
epatch ${FILESDIR}/${P}.patch
}
src_compile() {
local myconf
use X || myconf="usegtk=0"
econf ${myconf} || die "Failed to configure"
emake || die "Failed to make"
}
src_install() {
emake DESTDIR=${D} infodir=/usr/share/doc/${P} examplesdir=/usr/share/doc/${P}/examples install
}
|