summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Schlemmer <azarah@gentoo.org>2003-02-09 10:27:13 +0000
committerMartin Schlemmer <azarah@gentoo.org>2003-02-09 10:27:13 +0000
commitdb19f3c8a3457602d16c47f001a9f0aea59b7492 (patch)
treea7a1415b31c80a6f96a9bffd60e8100cf9f11195 /dev-util/colorgcc
parentMade the file search more robust as per Sascha Ludecke (diff)
downloadgentoo-2-db19f3c8a3457602d16c47f001a9f0aea59b7492.tar.gz
gentoo-2-db19f3c8a3457602d16c47f001a9f0aea59b7492.tar.bz2
gentoo-2-db19f3c8a3457602d16c47f001a9f0aea59b7492.zip
update patch
Diffstat (limited to 'dev-util/colorgcc')
-rw-r--r--dev-util/colorgcc/ChangeLog8
-rw-r--r--dev-util/colorgcc/colorgcc-1.3.2-r3.ebuild62
-rw-r--r--dev-util/colorgcc/files/digest-colorgcc-1.3.2-r32
3 files changed, 71 insertions, 1 deletions
diff --git a/dev-util/colorgcc/ChangeLog b/dev-util/colorgcc/ChangeLog
index 246d5371ce35..5e66152656d9 100644
--- a/dev-util/colorgcc/ChangeLog
+++ b/dev-util/colorgcc/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-util/colorgcc
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/dev-util/colorgcc/ChangeLog,v 1.5 2002/12/25 21:53:43 azarah Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/colorgcc/ChangeLog,v 1.6 2003/02/09 10:27:13 azarah Exp $
+
+*colorgcc-1.3.2-r3 (09 Feb 2003)
+
+ 09 Feb 2003; Martin Schlemmer <azarah@gentoo.org> colorgcc-1.3.2-r3.ebuild :
+
+ Update patch. Add arch symlinks. This closes bug #6200.
*colorgcc-1.3.2-r2 (25 Dec 2002)
diff --git a/dev-util/colorgcc/colorgcc-1.3.2-r3.ebuild b/dev-util/colorgcc/colorgcc-1.3.2-r3.ebuild
new file mode 100644
index 000000000000..8984a68ff1e7
--- /dev/null
+++ b/dev-util/colorgcc/colorgcc-1.3.2-r3.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/colorgcc/colorgcc-1.3.2-r3.ebuild,v 1.1 2003/02/09 10:27:13 azarah Exp $
+
+IUSE=""
+
+inherit eutils
+
+S="${WORKDIR}/${P}"
+DESCRIPTION="Adds color to gcc output"
+HOMEPAGE="http://packages.debian.org/testing/devel/colorgcc.html"
+SRC_URI="http://ftp.debian.org/debian/pool/main/c/${PN}/${PN}_${PV}.orig.tar.gz
+http://ftp.debian.org/debian/pool/main/c/${PN}/${PN}_${PV}-4.2.diff.gz"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~x86 ~sparc"
+
+DEPEND="sys-devel/perl"
+
+src_unpack() {
+ unpack ${PN}_${PV}.orig.tar.gz
+
+ epatch ${DISTDIR}/${PN}_${PV}-4.2.diff.gz
+
+ # Add support for gcc-config enabled gcc. You need gcc-config-1.2.7 or
+ # later for this ..
+ # <azarah@gentoo.org> (25 Dec 2002)
+ cd ${S}; epatch ${FILESDIR}/${P}-gcc_config.patch
+}
+
+src_compile() {
+ echo "Nothing to compile"
+}
+
+src_install() {
+ exeinto /usr/bin
+ doexe colorgcc
+ dodir /usr/bin/wrappers
+ dosym ../colorgcc /usr/bin/wrappers/gcc
+ dosym ../colorgcc /usr/bin/wrappers/g++
+ dosym ../colorgcc /usr/bin/wrappers/cc
+ dosym ../colorgcc /usr/bin/wrappers/c++
+ dosym ../colorgcc /usr/bin/wrappers/${CHOST}-gcc
+ dosym ../colorgcc /usr/bin/wrappers/${CHOST}-g++
+ dosym ../colorgcc /usr/bin/wrappers/${CHOST}-c++
+
+ dodoc COPYING CREDITS ChangeLog INSTALL colorgccrc
+}
+
+pkg_postinst() {
+ if grep /usr/bin/wrappers /etc/profile > /dev/null
+ then
+ einfo "/etc/profile already updated for wrappers"
+ else
+ einfo "Add this to the end of your ${ROOT}etc/profile:"
+ einfo
+ einfo "#Put /usr/bin/wrappers in path before /usr/bin"
+ einfo 'export PATH=/usr/bin/wrappers:${PATH}'
+ fi
+}
+
diff --git a/dev-util/colorgcc/files/digest-colorgcc-1.3.2-r3 b/dev-util/colorgcc/files/digest-colorgcc-1.3.2-r3
new file mode 100644
index 000000000000..360f04a3b9a6
--- /dev/null
+++ b/dev-util/colorgcc/files/digest-colorgcc-1.3.2-r3
@@ -0,0 +1,2 @@
+MD5 9dab925e1102a7312fb1ac3a6be122f4 colorgcc_1.3.2.orig.tar.gz 11280
+MD5 11eb989f8c77cd9ebaa6dddc63b7ac5a colorgcc_1.3.2-4.2.diff.gz 5598