summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-devel/binutils/binutils-2.10.91.0.2-r1.ebuild')
-rw-r--r--sys-devel/binutils/binutils-2.10.91.0.2-r1.ebuild59
1 files changed, 59 insertions, 0 deletions
diff --git a/sys-devel/binutils/binutils-2.10.91.0.2-r1.ebuild b/sys-devel/binutils/binutils-2.10.91.0.2-r1.ebuild
new file mode 100644
index 000000000000..11db3f296993
--- /dev/null
+++ b/sys-devel/binutils/binutils-2.10.91.0.2-r1.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2000 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# Author Daniel Robbins <drobbins@gentoo.org>
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/binutils/binutils-2.10.91.0.2-r1.ebuild,v 1.1 2001/02/27 17:21:15 achim Exp $
+
+A=${P}.tar.gz
+S=${WORKDIR}/${P}
+DESCRIPTION="Tools necessary to build programs"
+SRC_URI="http://ftp.valinux.com/pub/support/hjl/binutils/${A}"
+DEPEND="virtual/glibc nls? ( sys-devel/gettext )"
+RDEPEND="virtual/glibc"
+
+src_compile() {
+
+ local myconf
+ if [ -z "`use nls`" ]
+ then
+ myconf="--disable-nls"
+ fi
+ try ./configure --prefix=/usr --host=${CHOST} ${myconf}
+ if [ "`use static`" ]
+ then
+ try make -e LDFLAGS=-all-static ${MAKEOPTS}
+ else
+ try make ${MAKEOPTS}
+ fi
+}
+
+src_install() {
+
+ try make prefix=${D}/usr install
+
+ if [ -z "`use build`" ]
+ then
+ rm -rf ${D}/usr/share
+ dodoc COPYING* README
+ docinto bfd
+ dodoc bfd/ChangeLog* bfd/COPYING bfd/README bfd/PORTING bfd/TODO
+ docinto binutils
+ dodoc binutils/ChangeLog binutils/NEWS binutils/README
+ docinto gas
+ dodoc gas/ChangeLog* gas/CONTRIBUTORS gas/COPYING \
+ gas/NEWS gas/README*
+ docinto gprof
+ dodoc gprof/ChangeLog* gprof/NOTES gprof/TEST gprof/TODO
+ docinto ld
+ dodoc ld/ChangeLog* ld/README ld/NEWS ld/TODO
+ docinto libiberty
+ dodoc libiberty/ChangeLog* libiberty/COPYING.LIB libiberty/README
+ docinto opcodes
+ dodoc opcodes/ChangeLog*
+ else
+ rm -rf ${D}/usr/share/man
+ fi
+
+}
+
+
+