summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Hadaway <raker@gentoo.org>2002-12-22 01:40:40 +0000
committerNick Hadaway <raker@gentoo.org>2002-12-22 01:40:40 +0000
commit418da20e38b55a9aaa23f486961515605a41cc26 (patch)
tree0daf0cb1d9c1611a145300fffc9e5893e19794e7 /sys-devel/gdb
parentsyntax fix0r (diff)
downloadgentoo-2-418da20e38b55a9aaa23f486961515605a41cc26.tar.gz
gentoo-2-418da20e38b55a9aaa23f486961515605a41cc26.tar.bz2
gentoo-2-418da20e38b55a9aaa23f486961515605a41cc26.zip
Version bump.
Diffstat (limited to 'sys-devel/gdb')
-rw-r--r--sys-devel/gdb/ChangeLog8
-rw-r--r--sys-devel/gdb/files/digest-gdb-5.31
-rw-r--r--sys-devel/gdb/gdb-5.3.ebuild81
3 files changed, 89 insertions, 1 deletions
diff --git a/sys-devel/gdb/ChangeLog b/sys-devel/gdb/ChangeLog
index 0b2f79f44622..f6b1839b489d 100644
--- a/sys-devel/gdb/ChangeLog
+++ b/sys-devel/gdb/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sys-devel/gdb
# Copyright 2002 Gentoo Technologies, Inc. Distributed under the GPL, v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/gdb/ChangeLog,v 1.11 2002/12/13 11:00:39 blizzy Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/gdb/ChangeLog,v 1.12 2002/12/22 01:40:40 raker Exp $
+
+*gdb-5.3 (21 Dec 2002)
+
+ 21 Dec 2002; Nick Hadaway <raker@gentoo.org> gdb-5.3.ebuild,
+ files/digest-gdb-5.3 :
+ Version bump.
06 Dec 2002; Rodney Rees <manson@gentoo.org> : changed sparc ~sparc keywords
diff --git a/sys-devel/gdb/files/digest-gdb-5.3 b/sys-devel/gdb/files/digest-gdb-5.3
new file mode 100644
index 000000000000..4ec1563e53c5
--- /dev/null
+++ b/sys-devel/gdb/files/digest-gdb-5.3
@@ -0,0 +1 @@
+MD5 70e4ade69a2dff2c7b9af9a4ef44798f gdb-5.3.tar.bz2 11198721
diff --git a/sys-devel/gdb/gdb-5.3.ebuild b/sys-devel/gdb/gdb-5.3.ebuild
new file mode 100644
index 000000000000..c9e8429554f7
--- /dev/null
+++ b/sys-devel/gdb/gdb-5.3.ebuild
@@ -0,0 +1,81 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/gdb/gdb-5.3.ebuild,v 1.1 2002/12/22 01:40:40 raker Exp $
+
+IUSE="nls"
+
+S=${WORKDIR}/${P}
+DESCRIPTION="GNU debugger"
+HOMEPAGE="http://sources.redhat.com/gdb/"
+SRC_URI="http://mirrors.rcn.net/pub/sourceware/gdb/releases/${P}.tar.bz2"
+
+LICENSE="GPL-2 LGPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~ppc ~sparc ~alpha"
+
+DEPEND=">=sys-libs/ncurses-5.2-r2
+ nls? ( sys-devel/gettext )"
+
+inherit flag-o-matic
+replace-flags -O? -O2
+
+src_unpack() {
+
+ unpack ${A}
+ cd ${S}
+ patch -p1 < ${FILESDIR}/man.diff || die "patch failed"
+
+}
+
+src_compile() {
+
+ local myconf
+
+ use nls && myconf="--enable-nls" || myconf="--disable-nls"
+
+ econf ${myconf} || die
+
+ make || die
+}
+
+src_install() {
+
+ make \
+ prefix=${D}/usr \
+ mandir=${D}/usr/share/man \
+ infodir=${D}/usr/share/info \
+ install || die
+
+ cd gdb/doc
+ make \
+ infodir=${D}/usr/share/info \
+ install-info || die
+
+ cd ${S}/bfd/doc
+ make \
+ infodir=${D}/usr/share/info \
+ install-info || die
+
+ cd ${S}
+
+ # These includes and libs are in binutils already
+ rm -f ${D}/usr/lib/libbfd.*
+ rm -r ${D}/usr/lib/libiberty.*
+ rm -f ${D}/usr/lib/libopcodes.*
+
+ rm -rf ${D}/usr/include
+
+ dodoc COPYING* README
+
+ docinto gdb
+ dodoc gdb/CONTRIBUTE gdb/COPYING* gdb/README \
+ gdb/MAINTAINERS gdb/NEWS gdb/ChangeLog* \
+ gdb/TODO
+
+ docinto sim
+ dodoc sim/ChangeLog sim/MAINTAINERS sim/README-HACKING
+
+ docinto mmalloc
+ dodoc mmalloc/COPYING.LIB mmalloc/MAINTAINERS \
+ mmalloc/ChangeLog mmalloc/TODO
+}