/[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.7 - (hide annotations) (download)
Tue Nov 28 03:08:37 2006 UTC (11 years, 7 months ago) by tester
Branch: MAIN
Changes since 1.6: +3 -1 lines
Add strip-linguas, bug #148837 comment #10 and removed old versions
(Portage version: 2.1.1-r2)

1 tester 1.1 # Copyright 1999-2006 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3 tester 1.7 # $Header: /var/cvsroot/gentoo-x86/dev-util/insight/insight-6.5.ebuild,v 1.6 2006/10/20 21:12:44 kloeri 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 kloeri 1.6 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 tester 1.7 strip-linguas -i bfd/po opcodes/po
35    
36 tester 1.1 ./configure --prefix="${INSIGHTDIR}" \
37     --mandir="${D}${INSIGHTDIR}/share/man" \
38     --infodir="${D}${INSIGHTDIR}/share/info" \
39     ${myconf} || die
40     emake || die
41     }
42    
43     src_install () {
44     make \
45     prefix="${D}${INSIGHTDIR}" \
46     mandir="${D}${INSIGHTDIR}/share/man" \
47     infodir="${D}${INSIGHTDIR}/share/info" \
48     install || die
49     insinto /etc/env.d
50     doins "${FILESDIR}/99insight"
51     }

  ViewVC Help
Powered by ViewVC 1.1.20