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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.15 - (show annotations) (download)
Tue Nov 28 03:08:58 2006 UTC (7 years, 9 months ago) by tester
Branch: MAIN
CVS Tags: HEAD
Changes since 1.14: +1 -1 lines
FILE REMOVED
Add strip-linguas, bug #148837 comment #10 and removed old versions
(Portage version: 2.1.1-r2)
 (Signed Manifest commit)

1 # Copyright 1999-2006 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.1.ebuild,v 1.14 2006/09/05 19:38:06 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/"
11 LICENSE="GPL-2 LGPL-2"
12 DEPEND="|| ( ( x11-libs/libXt x11-libs/libX11 ) virtual/x11 )
13 nls? ( sys-devel/gettext )
14 sys-libs/ncurses"
15 RDEPEND="sys-libs/ncurses
16 || ( x11-libs/libX11 virtual/x11 )"
17
18 SLOT="0"
19 KEYWORDS="x86 sparc alpha ppc amd64"
20 SRC_URI="ftp://sources.redhat.com/pub/gdb/releases/${P}.tar.bz2"
21
22 INSIGHTDIR="/opt/insight"
23
24 src_unpack() {
25 unpack ${A}
26 cd ${S}
27 sed -i -e "s/relid'/relid/" {tcl,tk}/unix/configure
28 }
29
30 src_compile() {
31 local myconf
32 use nls || myconf="--disable-nls"
33
34 ./configure --prefix="${INSIGHTDIR}" \
35 --mandir="${D}${INSIGHTDIR}/share/man" \
36 --infodir="${D}${INSIGHTDIR}/share/info" \
37 ${myconf} || die
38 emake || die
39 }
40
41 src_install () {
42 make \
43 prefix="${D}${INSIGHTDIR}" \
44 mandir="${D}${INSIGHTDIR}/share/man" \
45 infodir="${D}${INSIGHTDIR}/share/info" \
46 install || die
47 insinto /etc/env.d
48 doins "${FILESDIR}/99insight"
49 }

  ViewVC Help
Powered by ViewVC 1.1.20