/[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.6 - (show annotations) (download)
Fri Oct 20 21:12:44 2006 UTC (11 years ago) by kloeri
Branch: MAIN
Changes since 1.5: +2 -2 lines
Stable on Alpha.
(Portage version: 2.1.2_pre3-r2)

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.5.ebuild,v 1.5 2006/10/05 13:32:38 gustavoz Exp $
4
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 KEYWORDS="alpha amd64 ppc sparc x86"
20 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