summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGrant Goodyear <g2boojum@gentoo.org>2001-10-11 17:10:15 +0000
committerGrant Goodyear <g2boojum@gentoo.org>2001-10-11 17:10:15 +0000
commitd4fc9623476461a75097ed070be7803388247ee0 (patch)
treefcc36f3ba1b5767c1789d979833fc3ca5b5d314d /dev-util/colorgcc
parentHeavily modified to be accurate for rc6. (diff)
downloadgentoo-2-d4fc9623476461a75097ed070be7803388247ee0.tar.gz
gentoo-2-d4fc9623476461a75097ed070be7803388247ee0.tar.bz2
gentoo-2-d4fc9623476461a75097ed070be7803388247ee0.zip
New build for a useful tool to colorize gcc errors and warnings.
Diffstat (limited to 'dev-util/colorgcc')
-rw-r--r--dev-util/colorgcc/colorgcc-1.3.2.ebuild48
-rw-r--r--dev-util/colorgcc/files/digest-colorgcc-1.3.22
2 files changed, 50 insertions, 0 deletions
diff --git a/dev-util/colorgcc/colorgcc-1.3.2.ebuild b/dev-util/colorgcc/colorgcc-1.3.2.ebuild
new file mode 100644
index 000000000000..b877f4dd1a89
--- /dev/null
+++ b/dev-util/colorgcc/colorgcc-1.3.2.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2001 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# Author Grant Goodyear <g2boojum@gentoo.org>
+# /home/cvsroot/gentoo-x86/skel.build,v 1.7 2001/08/25 21:15:08 chadh Exp
+
+S=${WORKDIR}/${P}
+DESCRIPTION="This is a sample skeleton ebuild file"
+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.1.diff.gz"
+
+#Homepage, not used by Portage directly but handy for developer reference
+HOMEPAGE="http://packages.debian.org/testing/devel/colorgcc.html"
+
+#build-time dependencies
+DEPEND="sys-devel/perl
+ sys-devel/gcc"
+
+src_unpack() {
+ unpack ${PN}_${PV}.orig.tar.gz
+ zcat ${DISTDIR}/${PN}_${PV}-4.1.diff.gz | patch -p0
+}
+
+src_compile() {
+ echo "Nothing to compile"
+}
+
+src_install() {
+ exeinto /usr/bin
+ doexe colorgcc
+ dodir /usr/bin/wrappers
+ dosym /usr/bin/colorgcc /usr/bin/wrappers/gcc
+ dosym /usr/bin/colorgcc /usr/bin/wrappers/g++
+ dosym /usr/bin/colorgcc /usr/bin/wrappers/cc
+ dosym /usr/bin/colorgcc /usr/bin/wrappers/c++
+ dodoc COPYING CREDITS ChangeLog INSTALL colorgccrc
+}
+
+pkg_postinst() {
+if grep /usr/bin/wrappers /etc/profile > /dev/null
+then
+ echo "/etc/profile already updated for wrappers"
+else
+ echo -e "#Put /usr/bin/wrappers in path before /usr/bin" >> /etc/profile
+ echo 'export PATH=/usr/bin/wrappers:${PATH}' >> /etc/profile
+ echo '/usr/bin/wrappers added to path in /etc/profile!'
+fi
+}
+
diff --git a/dev-util/colorgcc/files/digest-colorgcc-1.3.2 b/dev-util/colorgcc/files/digest-colorgcc-1.3.2
new file mode 100644
index 000000000000..54b561ebe247
--- /dev/null
+++ b/dev-util/colorgcc/files/digest-colorgcc-1.3.2
@@ -0,0 +1,2 @@
+MD5 2599b206a4709a4060adc4b3f74d3ea8 colorgcc_1.3.2-4.1.diff.gz
+MD5 9dab925e1102a7312fb1ac3a6be122f4 colorgcc_1.3.2.orig.tar.gz