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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (hide annotations) (download)
Thu Oct 5 13:32:38 2006 UTC (11 years, 1 month ago) by gustavoz
Branch: MAIN
Changes since 1.4: +2 -2 lines
Stable on sparc
(Portage version: 2.1.1)

1 tester 1.1 # Copyright 1999-2006 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3 gustavoz 1.5 # $Header: /var/cvsroot/gentoo-x86/dev-util/insight/insight-6.5.ebuild,v 1.4 2006/10/05 05:47:31 wormo Exp $
4 tester 1.1
5     inherit eutils
6    
7     IUSE="nls"
8    
9     DESCRIPTION="A graphical interface to the GNU debugger"
10     HOMEPAGE="http://sourceware.org/insight/"
11     LICENSE="GPL-2 LGPL-2"
12     RDEPEND="sys-libs/ncurses
13     || ( x11-libs/libX11 virtual/x11 )"
14     DEPEND="|| ( ( x11-libs/libXt x11-libs/libX11 ) virtual/x11 )
15     nls? ( sys-devel/gettext )
16     sys-libs/ncurses"
17    
18     SLOT="0"
19 gustavoz 1.5 KEYWORDS="~alpha amd64 ppc sparc x86"
20 tester 1.1 SRC_URI="ftp://sources.redhat.com/pub/${PN}/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     myconf="$(use_enable 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