/[gentoo-x86]/dev-util/insight/insight-6.0.ebuild
Gentoo

Contents of /dev-util/insight/insight-6.0.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.7 - (show annotations) (download)
Sat Dec 24 23:29:40 2005 UTC (8 years, 3 months ago) by tester
Branch: MAIN
CVS Tags: HEAD
Changes since 1.6: +1 -1 lines
FILE REMOVED
Added 6.4, removed older versions
(Portage version: 2.0.51.22-r3)

1 # Copyright 1999-2004 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-util/insight/insight-6.0.ebuild,v 1.6 2004/11/04 20:30:23 tester Exp $
4
5 inherit eutils
6
7 IUSE="nls"
8
9 DESCRIPTION="A graphical interface to the GNU debugger"
10 HOMEPAGE="http://sources.redhat.com/insight/index.html"
11 LICENSE="GPL-2 LGPL-2"
12 DEPEND="virtual/x11
13 sys-libs/ncurses"
14 RDEPEND="${DEPEND}
15 nls? ( sys-devel/gettext )"
16
17 SLOT="0"
18 KEYWORDS="~x86 ~sparc ~alpha"
19 SRC_URI="ftp://sources.redhat.com/pub/gdb/releases/${P}.tar.bz2"
20
21 INSIGHTDIR="/opt/insight"
22
23 disabled_src_unpack() {
24
25 unpack ${A}
26 cd ${S}/gdb
27 epatch ${FILESDIR}/gdb-6.x-crash.patch
28 }
29
30 src_compile() {
31
32 local myconf
33 use nls || myconf="--disable-nls"
34
35 ./configure --prefix="${INSIGHTDIR}" \
36 --mandir="${D}${INSIGHTDIR}/share/man" \
37 --infodir="${D}${INSIGHTDIR}/share/info" \
38 ${myconf} || die
39 emake || die
40
41 }
42
43 src_install () {
44
45 make \
46 prefix="${D}${INSIGHTDIR}" \
47 mandir="${D}${INSIGHTDIR}/share/man" \
48 infodir="${D}${INSIGHTDIR}/share/info" \
49 install || die
50 insinto /etc/env.d
51 doins "${FILESDIR}/99insight"
52
53 }

  ViewVC Help
Powered by ViewVC 1.1.20