[Lunar-commits] <moonbase-other> colorgcc: add to -other
v4hn
me at v4hn.de
Fri Sep 20 14:02:47 CEST 2013
commit bf57d7584ae0626184d1b6c5f6ef4cbdd41faab3
Author: v4hn <me at v4hn.de>
Date: Wed, 11 Sep 2013 10:42:34 -0700
URL: https://github.com/lunar-linux/moonbase-other/commit/bf57d7584ae0626184d1b6c5f6ef4cbdd41faab3
colorgcc: add to -other
---
utils/colorgcc/BUILD | +11/-0
utils/colorgcc/DEPENDS | +1/-0
utils/colorgcc/DETAILS | +18/-0
utils/colorgcc/PRE_BUILD | +8/-0
utils/colorgcc/profile.d/colorgcc.rc | +2/-0
5 files changed, 40 insertions(+)
--- /dev/null
+++ b/utils/colorgcc/BUILD
@@ -0,0 +1,11 @@
+prepare_install &&
+
+install -Dm0755 $SOURCE /usr/bin/colorgcc &&
+
+# prepare overlay for colorgcc
+install -dm0755 /usr/lib/colorgcc &&
+for x in gcc g++ cc cpp; do
+ ln -s /usr/bin/colorgcc /usr/lib/colorgcc/$x
+done &&
+
+gather_docs $SOURCE2
--- /dev/null
+++ b/utils/colorgcc/DEPENDS
@@ -0,0 +1 @@
+depends perl
--- /dev/null
+++ b/utils/colorgcc/DETAILS
@@ -0,0 +1,18 @@
+ MODULE=colorgcc
+ VERSION=1.3.2
+ SOURCE=$MODULE.$VERSION.txt
+ SOURCE2=colorgccrc.txt
+ SOURCE_URL=http://schlueters.de
+ SOURCE2_URL=$SOURCE_URL
+ SOURCE_VFY=sha1:2114071b0c78b7e4383a0ac86e8277aa7201e2be
+ SOURCE2_VFY=sha1:146fdd0d5463f246587d92ce9100082249e1e6d4
+ WEB_SITE=http://schlueters.de/colorgcc.html
+ ENTERED=20130911
+ UPDATED=20130911
+ SHORT="gcc wrapper to color output"
+
+cat << EOF
+colorgcc is a Perl script to colorize the terminal
+output of GCC so error messages can be found within
+longer compiler outputs.
+EOF
--- /dev/null
+++ b/utils/colorgcc/PRE_BUILD
@@ -0,0 +1,8 @@
+# gather_docs fails without an existing SOURCE_DIRECTORY
+mk_source_dir $SOURCE_DIRECTORY &&
+cd $SOURCE_DIRECTORY &&
+
+cp $SOURCE_CACHE/{$SOURCE,$SOURCE2} . &&
+
+# add trivial support for column output
+sedit 's@(\[0-9\]+):@([0-9]+:[0-9]+):@' $SOURCE
--- /dev/null
+++ b/utils/colorgcc/profile.d/colorgcc.rc
@@ -0,0 +1,2 @@
+# prefix PATH with colorgcc overlay
+export PATH="/usr/lib/colorgcc:$PATH"
More information about the Lunar-commits
mailing list