summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Hadaway <raker@gentoo.org>2002-08-21 13:56:00 +0000
committerNick Hadaway <raker@gentoo.org>2002-08-21 13:56:00 +0000
commit105dfcfd0ff8c3112bfb06aab599f6de4ca16a5f (patch)
treefcd5b3ce189b58121c86d857a292aeafd023b43c /sys-devel/gdb
parentterminfo files (diff)
downloadgentoo-2-105dfcfd0ff8c3112bfb06aab599f6de4ca16a5f.tar.gz
gentoo-2-105dfcfd0ff8c3112bfb06aab599f6de4ca16a5f.tar.bz2
gentoo-2-105dfcfd0ff8c3112bfb06aab599f6de4ca16a5f.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.2.11
-rw-r--r--sys-devel/gdb/files/man.diff12
-rw-r--r--sys-devel/gdb/gdb-5.2.1.ebuild80
4 files changed, 100 insertions, 1 deletions
diff --git a/sys-devel/gdb/ChangeLog b/sys-devel/gdb/ChangeLog
index b38599764a17..af0ea3655b78 100644
--- a/sys-devel/gdb/ChangeLog
+++ b/sys-devel/gdb/ChangeLog
@@ -1,4 +1,10 @@
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/gdb/ChangeLog,v 1.6 2002/07/25 05:06:50 gerk Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/gdb/ChangeLog,v 1.7 2002/08/21 13:56:00 raker Exp $
+
+*gdb-5.2.1 (20 Aug 2002)
+
+ 20 Aug 2002; Nick Hadaway <raker@gentoo.org>
+ gdb-5.2.1.ebuild, files/digest-gdb-5.2.1, files/man.diff :
+ Version bump.
*gdb-5.1.1-r2 (2 June 2002)
diff --git a/sys-devel/gdb/files/digest-gdb-5.2.1 b/sys-devel/gdb/files/digest-gdb-5.2.1
new file mode 100644
index 000000000000..525e95ff8b84
--- /dev/null
+++ b/sys-devel/gdb/files/digest-gdb-5.2.1
@@ -0,0 +1 @@
+MD5 0450e48a13d26db9548acd7800a7ea59 gdb-5.2.1.tar.bz2 11268122
diff --git a/sys-devel/gdb/files/man.diff b/sys-devel/gdb/files/man.diff
new file mode 100644
index 000000000000..c5398b8b3afa
--- /dev/null
+++ b/sys-devel/gdb/files/man.diff
@@ -0,0 +1,12 @@
+diff -urN gdb-5.2.1/gdb/gdbserver/Makefile.in gdb-5.2.1-modified/gdb/gdbserver/Makefile.in
+--- gdb-5.2.1/gdb/gdbserver/Makefile.in Fri Mar 29 13:03:33 2002
++++ gdb-5.2.1-modified/gdb/gdbserver/Makefile.in Tue Aug 20 16:43:58 2002
+@@ -139,7 +139,7 @@
+ n=`echo gdbserver | sed '$(program_transform_name)'`; \
+ if [ x$$n = x ]; then n=gdbserver; else true; fi; \
+ $(INSTALL_PROGRAM) gdbserver $(bindir)/$$n; \
+- $(INSTALL_DATA) $(srcdir)/gdbserver.1 $(man1dir)/$$n.1
++ $(INSTALL_DATA) $(srcdir)/gdbserver.1 ${D}/$(man1dir)/$$n.1
+
+ uninstall: force
+ n=`echo gdbserver | sed '$(program_transform_name)'`; \
diff --git a/sys-devel/gdb/gdb-5.2.1.ebuild b/sys-devel/gdb/gdb-5.2.1.ebuild
new file mode 100644
index 000000000000..34073a6f81e2
--- /dev/null
+++ b/sys-devel/gdb/gdb-5.2.1.ebuild
@@ -0,0 +1,80 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/gdb/gdb-5.2.1.ebuild,v 1.1 2002/08/21 13:56:00 raker Exp $
+
+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 sparc64"
+
+DEPEND="virtual/glibc
+ >=sys-libs/ncurses-5.2-r2
+ nls? ( sys-devel/gettext )"
+RDEPEND="virtual/glibc
+ >=sys-libs/ncurses-5.2-r2"
+
+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
+}