blob: fc8f43c00ac5aa01f396826c578ef62642196c2a (
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
|
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-embedded/gnusim8085/gnusim8085-1.2.89.ebuild,v 1.7 2005/10/09 09:58:06 dragonheart Exp $
inherit eutils
DESCRIPTION="A GTK2 8085 Simulator"
HOMEPAGE="http://sourceforge.net/projects/gnusim8085"
SRC_URI="mirror://sourceforge/gnusim8085/GNUSim8085-${PV}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86"
IUSE="nls"
DEPEND=">=x11-libs/gtk+-2.0
>=gnome-base/libgnomeui-2.0
nls? ( >=sys-devel/gettext-0.10.40 )"
DEPEND="${DEPEND}
virtual/x11"
S=${WORKDIR}/GNUSim8085-${PV}
src_compile() {
local myconf
use nls || myconf="--disable-nls"
econf ${myconf} || die "Configuration failed"
emake gnusim8085_LDADD='$(GNOME_LIBS)' || die "Make failed"
}
src_install() {
einstall || die "Install Failed!"
cd ${S}
dodoc -r README doc/asm_reference.txt doc/examples \
AUTHORS ChangeLog NEWS TODO
doman doc/gnusim8085.1
cd ${D}
mv usr/doc/GNUSim8085/* ${D}/usr/share/doc/${PF}
rm -rf usr/doc
}
|