blob: 0d1bde1ee73cdaa2dfbe1f5df946d1fdaa67991f (
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
|
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-util/insight/insight-6.1.ebuild,v 1.10 2005/04/24 12:55:05 hansmi Exp $
inherit eutils
IUSE="nls"
DESCRIPTION="A graphical interface to the GNU debugger"
HOMEPAGE="http://sources.redhat.com/insight/index.html"
LICENSE="GPL-2 LGPL-2"
DEPEND="virtual/x11
sys-libs/ncurses"
RDEPEND="${DEPEND}
nls? ( sys-devel/gettext )"
SLOT="0"
KEYWORDS="x86 sparc alpha ppc ~amd64"
SRC_URI="ftp://sources.redhat.com/pub/gdb/releases/${P}.tar.bz2"
INSIGHTDIR="/opt/insight"
disabled_src_unpack() {
unpack ${A}
cd ${S}
epatch ${FILESDIR}/insight-6.1-jimb-copy-section-addr-info.patch
}
src_compile() {
local myconf
use nls || myconf="--disable-nls"
./configure --prefix="${INSIGHTDIR}" \
--mandir="${D}${INSIGHTDIR}/share/man" \
--infodir="${D}${INSIGHTDIR}/share/info" \
${myconf} || die
emake || die
}
src_install () {
make \
prefix="${D}${INSIGHTDIR}" \
mandir="${D}${INSIGHTDIR}/share/man" \
infodir="${D}${INSIGHTDIR}/share/info" \
install || die
insinto /etc/env.d
doins "${FILESDIR}/99insight"
}
|