summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAchim Gottinger <achim@gentoo.org>2000-11-11 22:29:00 +0000
committerAchim Gottinger <achim@gentoo.org>2000-11-11 22:29:00 +0000
commit9fa14b99dd3bac5cd6bcb92cbc5630593f214289 (patch)
tree4bc1aecc152965a607ef314f4fc5fc6e49f41c74 /sys-devel
parentThis is the first stable release of version 2.2. (diff)
downloadgentoo-2-9fa14b99dd3bac5cd6bcb92cbc5630593f214289.tar.gz
gentoo-2-9fa14b99dd3bac5cd6bcb92cbc5630593f214289.tar.bz2
gentoo-2-9fa14b99dd3bac5cd6bcb92cbc5630593f214289.zip
*** empty log message ***
Diffstat (limited to 'sys-devel')
-rw-r--r--sys-devel/gcc/gcc-2.95.2-r1.ebuild21
-rw-r--r--sys-devel/gcc/gcc-2.95.2-r3.ebuild70
2 files changed, 88 insertions, 3 deletions
diff --git a/sys-devel/gcc/gcc-2.95.2-r1.ebuild b/sys-devel/gcc/gcc-2.95.2-r1.ebuild
index ddd7dff331b5..f08deb644b26 100644
--- a/sys-devel/gcc/gcc-2.95.2-r1.ebuild
+++ b/sys-devel/gcc/gcc-2.95.2-r1.ebuild
@@ -1,29 +1,44 @@
# 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/gcc/gcc-2.95.2-r1.ebuild,v 1.7 2000/10/03 16:02:06 achim Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/gcc-2.95.2-r1.ebuild,v 1.8 2000/11/11 22:29:00 achim Exp $
P=gcc-2.95.2
-A="gcc-2.95.2.tar.gz libg++-2.8.1.3.tar.gz libg++-2.8.1.3-20000816.diff.gz"
+A="gcc-2.95.2.tar.gz
+ libg++-2.8.1.3.tar.gz
+ libg++-2.8.1.3-20000312.diff.gz
+ libg++-2.8.1.3-20000419.diff.gz
+ libg++-2.8.1.3-20000816.diff.gz
+ libg++-2.8.1.3-20000914.diff.gz"
+
A0=gcc-2.95.2.dif.gz
A1=gcc-exception-fix.diff.gz
A2=gcc-accept-doublecolon.diff.gz
S=${WORKDIR}/gcc-2.95.2
T=/usr
+
DESCRIPTION="modern gcc c/c++ compiler"
+
SRC_URI="ftp://prep.ai.mit.edu/gnu/gcc/gcc-2.95.2.tar.gz
ftp://gatekeeper.dec.com/pub/GNU/gcc/gcc-2.95.2.tar.gz
ftp://sourceware.cygnus.com/pub/gcc/infrastructure/libg++-2.8.1.3.tar.gz
ftp://sourceware.cygnus.com/pub/gcc/infrastructure/libg++-2.8.1.3-20000816.diff.gz
ftp://ftp.freesoftware.com/pub/sourceware/gcc/infrastructure/libg++-2.8.1.3.tar.gz
- ftp://ftp.freesoftware.com/pub/sourceware/gcc/infrastructure/libg++-2.8.1.3-20000816.diff.gz"
+ ftp://ftp.freesoftware.com/pub/sourceware/gcc/infrastructure/libg++-2.8.1.3-20000312.diff.gz
+ ftp://ftp.freesoftware.com/pub/sourceware/gcc/infrastructure/libg++-2.8.1.3-20000419.diff.gz
+ ftp://ftp.freesoftware.com/pub/sourceware/gcc/infrastructure/libg++-2.8.1.3-20000816.diff.gz
+ ftp://ftp.freesoftware.com/pub/sourceware/gcc/infrastructure/libg++-2.8.1.3-20000914.diff.gz"
+
HOMEPAGE="http://www.gnu.org/software/gcc/gcc.html"
src_unpack() {
unpack gcc-2.95.2.tar.gz
unpack libg++-2.8.1.3.tar.gz
cd ${S}/../libg++-2.8.1.3
+ gzip -dc ${DISTDIR}/libg++-2.8.1.3-20000312.diff.gz | patch -p1
+ gzip -dc ${DISTDIR}/libg++-2.8.1.3-20000419.diff.gz | patch -p1
gzip -dc ${DISTDIR}/libg++-2.8.1.3-20000816.diff.gz | patch -p1
+ gzip -dc ${DISTDIR}/libg++-2.8.1.3-20000914.diff.gz | patch -p1
einfo "Moving trees"
cd ${S}
rm -rf texinfo
diff --git a/sys-devel/gcc/gcc-2.95.2-r3.ebuild b/sys-devel/gcc/gcc-2.95.2-r3.ebuild
new file mode 100644
index 000000000000..e51668c53144
--- /dev/null
+++ b/sys-devel/gcc/gcc-2.95.2-r3.ebuild
@@ -0,0 +1,70 @@
+# 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/gcc/gcc-2.95.2-r3.ebuild,v 1.1 2000/11/11 22:29:00 achim Exp $
+
+P=gcc-2.95.2
+A="gcc-2.95.2.tar.gz libg++-2.8.1.3.tar.gz libg++-2.8.1.3-20000816.diff.gz"
+A0=gcc-2.95.2.dif.gz
+A1=gcc-exception-fix.diff.gz
+A2=gcc-accept-doublecolon.diff.gz
+S=${WORKDIR}/gcc-2.95.2
+T=/usr
+DESCRIPTION="modern gcc c/c++ compiler"
+SRC_URI="ftp://prep.ai.mit.edu/gnu/gcc/gcc-2.95.2.tar.gz
+ ftp://gatekeeper.dec.com/pub/GNU/gcc/gcc-2.95.2.tar.gz
+ ftp://sourceware.cygnus.com/pub/gcc/infrastructure/libg++-2.8.1.3.tar.gz
+ ftp://sourceware.cygnus.com/pub/gcc/infrastructure/libg++-2.8.1.3-20000816.diff.gz
+ ftp://ftp.freesoftware.com/pub/sourceware/gcc/infrastructure/libg++-2.8.1.3.tar.gz
+ ftp://ftp.freesoftware.com/pub/sourceware/gcc/infrastructure/libg++-2.8.1.3-20000816.diff.gz"
+HOMEPAGE="http://www.gnu.org/software/gcc/gcc.html"
+
+src_unpack() {
+ unpack gcc-2.95.2.tar.gz
+ unpack libg++-2.8.1.3.tar.gz
+ cd ${S}/../libg++-2.8.1.3
+ gzip -dc ${DISTDIR}/libg++-2.8.1.3-20000816.diff.gz | patch -p1
+ einfo "Moving trees"
+ cd ${S}
+ rm -rf texinfo
+ mv ../libg++-2.8.1.3/* .
+ rmdir ../libg++-2.8.1.3
+ zcat ${O}/files/${A0} | patch -p0
+ zcat ${O}/files/${A1} | patch -p0
+ zcat ${O}/files/${A2} | patch -p0
+}
+
+src_compile() {
+ cd ${S}
+ #i586a doesn't like optimization?
+ if [ "$PLATFORM" == "i686-pc-linux-gnu" ]
+ then
+ export CFLAGS="-mpentium"
+ export CXXFLAGS="-mpentium"
+ fi
+ try ${S}/configure --prefix=${T} --enable-version-specific-runtime-libs \
+ --host=${CHOST} --enable-threads --enable-shared \
+ --with-local-prefix=${T}/local --enable-nls \
+ --with-gxx-include-dir=${T}/include/g++ \
+
+ try make bootstrap-lean
+}
+
+src_install() {
+ try make install prefix=${D}${T} mandir=${D}${T}/man \
+ gxx_include_dir=${D}${T}/include/g++
+ FULLPATH=${D}${T}/lib/gcc-lib/i686-pc-linux-gnu/2.95.2
+ cd ${FULLPATH}
+ dodir /lib
+ dosym ${T}/lib/gcc-lib/i686-pc-linux-gnu/2.95.2/cpp /lib/cpp
+ dosym /usr/bin/gcc /usr/bin/cc
+ prepman
+ prepinfo
+ cd ${S}
+ dodoc COPYING COPYING.LIB README FAQ MAINTAINERS
+}
+
+
+
+
+