diff options
Diffstat (limited to 'sys-devel/gdb/gdb-5.0-r1.ebuild')
-rw-r--r-- | sys-devel/gdb/gdb-5.0-r1.ebuild | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/sys-devel/gdb/gdb-5.0-r1.ebuild b/sys-devel/gdb/gdb-5.0-r1.ebuild new file mode 100644 index 000000000000..57c51d6a8764 --- /dev/null +++ b/sys-devel/gdb/gdb-5.0-r1.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2000 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Author Achim Gottinger <achim@gentoo.org> +# $Header: /var/cvsroot/gentoo-x86/sys-devel/gdb/gdb-5.0-r1.ebuild,v 1.1 2000/08/03 14:16:17 achim Exp $ + +P=gdb-5.0 +A=${P}.tar.bz2 +S=${WORKDIR}/${P} +CATEGORY="sys-devel" +DESCRIPTION="GNU debugger" +SRC_URI="ftp://sourceware.cygnus.com/pub/gdb/releases/${A}" +HOMEPAGE="http://www.gnu.org/software/gdb/gdb.html" + +src_compile() { + ./configure --prefix=/usr --host=${CHOST} + make +} + +src_install() { + into /usr + + make prefix=${D}/usr install install-info + strip ${D}/usr/bin/* + prepman + prepinfo + # 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 + rmdir ${D}/usr/share + + dodoc COPYING* README + docinto gdb + dodoc gdb/CONTRIBUTE gdb/COPYING* gdb/README gdb/MAINTAINERS gdb/NEWS gdb/ChangeLog* gdb/doc/LRS gdb/TODO +} + + + + |