blob: 751897aa1782d425f4325171d85d6c56320b4794 (
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-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-embedded/gnusim8085/gnusim8085-1.3.7.ebuild,v 1.1 2011/04/20 01:07:48 radhermit Exp $
EAPI=4
inherit eutils autotools
DESCRIPTION="A GTK2 8085 Simulator"
HOMEPAGE="http://gnusim8085.org"
SRC_URI="http://launchpad.net/${PN}/trunk/${PV}/+download/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="nls examples"
RDEPEND=">=x11-libs/gtk+-2.12:2
x11-libs/gtksourceview:2.0"
DEPEND="${RDEPEND}
nls? ( sys-devel/gettext )"
src_prepare() {
epatch "${FILESDIR}"/${P}-docs.patch
eautoreconf
}
src_configure() {
econf $(use_enable nls)
}
src_install() {
default
doman doc/gnusim8085.1
if use examples ; then
docompress -x /usr/share/doc/${PF}/examples
insinto /usr/share/doc/${PF}/examples
doins doc/examples/*.asm doc/asm-guide.txt
fi
}
|