summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAchim Gottinger <achim@gentoo.org>2001-02-27 17:24:00 +0000
committerAchim Gottinger <achim@gentoo.org>2001-02-27 17:24:00 +0000
commit5e419a25ef0e23e192e22a05b17c6923d3e6b79d (patch)
tree30fc9286c18587eb730caaa4d282cb65c1982419 /sys-devel
parentUses USE nls static build now (diff)
downloadgentoo-2-5e419a25ef0e23e192e22a05b17c6923d3e6b79d.tar.gz
gentoo-2-5e419a25ef0e23e192e22a05b17c6923d3e6b79d.tar.bz2
gentoo-2-5e419a25ef0e23e192e22a05b17c6923d3e6b79d.zip
Now uses USE nls static build
Diffstat (limited to 'sys-devel')
-rw-r--r--sys-devel/binutils/binutils-2.10.91.0.2-r1.ebuild59
-rw-r--r--sys-devel/binutils/binutils-2.10.91.0.2.ebuild6
-rw-r--r--sys-devel/bison/bison-1.28-r3.ebuild54
-rw-r--r--sys-devel/bison/files/digest-bison-1.28-r31
4 files changed, 117 insertions, 3 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
+
+}
+
+
+
diff --git a/sys-devel/binutils/binutils-2.10.91.0.2.ebuild b/sys-devel/binutils/binutils-2.10.91.0.2.ebuild
index 0b465bf5724e..a0254aabd2b9 100644
--- a/sys-devel/binutils/binutils-2.10.91.0.2.ebuild
+++ b/sys-devel/binutils/binutils-2.10.91.0.2.ebuild
@@ -1,7 +1,7 @@
# 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.ebuild,v 1.1 2001/02/21 05:46:13 achim Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/binutils/binutils-2.10.91.0.2.ebuild,v 1.2 2001/02/27 17:21:15 achim Exp $
A=${P}.tar.gz
S=${WORKDIR}/${P}
@@ -10,12 +10,12 @@ SRC_URI="http://ftp.valinux.com/pub/support/hjl/binutils/${A}"
DEPEND="virtual/glibc"
src_compile() {
- try ./configure --prefix=/usr --host=${CHOST}
+ try ./configure --prefix=/usr --mandir=/usr/share/man --host=${CHOST}
try make ${MAKEOPTS}
}
src_install() {
- try make prefix=${D}/usr install
+ try make prefix=${D}/usr mandir=${D}/usr/share/man install
rm -rf ${D}/usr/share
dodoc COPYING* README
docinto bfd
diff --git a/sys-devel/bison/bison-1.28-r3.ebuild b/sys-devel/bison/bison-1.28-r3.ebuild
new file mode 100644
index 000000000000..6eb0cca9b659
--- /dev/null
+++ b/sys-devel/bison/bison-1.28-r3.ebuild
@@ -0,0 +1,54 @@
+# 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/bison/bison-1.28-r3.ebuild,v 1.1 2001/02/27 17:24:00 achim Exp $
+
+A=${P}.tar.gz
+S=${WORKDIR}/${P}
+DESCRIPTION="A yacc-compatible parser generator"
+SRC_URI="ftp://gatekeeper.dec.com/pub/GNU/bison/${A}
+ ftp://prep.ai.mit.edu/gnu/bison/${A}"
+HOMEPAGE="http://www.gnu.org/software/bison/bison.html"
+
+
+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 ${myconf} --datadir=/usr/share/bison \
+ --mandir=/usr/share/man --infodir=/usr/share/info --host=${CHOST}
+
+ if [ -z "`use static`" ]
+ then
+ try make ${MAKEOPTS}
+ else
+ try make ${MAKEOPTS} LDFLAGS=-static
+ fi
+
+}
+
+src_install() {
+
+ try make prefix=${D}/usr datadir=${D}/usr/share/bison \
+ mandir=${D}/usr/share/man infodir=${D}/usr/share/info install
+
+ if [ -z "`use build`" ]
+ then
+ dodoc COPYING AUTHORS NEWS ChangeLog README REFERENCES OChangeLog
+ docinto txt
+ dodoc doc/FAQ
+ else
+ rm -rf ${D}/usr/share/man ${D}/usr/share/info
+ fi
+
+}
+
+
diff --git a/sys-devel/bison/files/digest-bison-1.28-r3 b/sys-devel/bison/files/digest-bison-1.28-r3
new file mode 100644
index 000000000000..31b82696c4c7
--- /dev/null
+++ b/sys-devel/bison/files/digest-bison-1.28-r3
@@ -0,0 +1 @@
+MD5 4afb3989f2270043c47c3daa1fa7ffab bison-1.28.tar.gz