diff options
Diffstat (limited to 'dev-util')
-rw-r--r-- | dev-util/colorgcc/colorgcc-1.3.2-r4.ebuild | 63 | ||||
-rw-r--r-- | dev-util/colorgcc/colorgcc-1.3.2-r5.ebuild | 65 |
2 files changed, 0 insertions, 128 deletions
diff --git a/dev-util/colorgcc/colorgcc-1.3.2-r4.ebuild b/dev-util/colorgcc/colorgcc-1.3.2-r4.ebuild deleted file mode 100644 index cb6c9d38c84e..000000000000 --- a/dev-util/colorgcc/colorgcc-1.3.2-r4.ebuild +++ /dev/null @@ -1,63 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -inherit eutils - -DESCRIPTION="Adds color to gcc output" -HOMEPAGE="http://schlueters.de/colorgcc.html" -SRC_URI="mirror://gentoo/${P}.tar.gz" - -SLOT="0" -LICENSE="GPL-2" -KEYWORDS="alpha amd64 ~hppa ~mips ppc sparc x86" -IUSE="" - -DEPEND="dev-lang/perl" -RDEPEND="${DEPEND}" - -src_unpack() { - unpack ${A} - cd "${S}" - epatch \ - "${FILESDIR}"/${P}-gentoo-one.patch \ - "${FILESDIR}"/${P}-gentoo-two.patch -} - -src_compile() { :; } - -src_install() { - dobin colorgcc || die - dodir /etc/colorgcc /usr/lib/colorgcc/bin - insinto /etc/colorgcc - doins colorgccrc || die - einfo "Scanning for compiler front-ends" - into /usr/lib/colorgcc/bin - for a in gcc cc c++ g++ ${CHOST}-gcc ${CHOST}-c++ ${CHOST}-g++ ; do - if [ -n "$(type -p ${a})" ]; then - dosym /usr/bin/colorgcc /usr/lib/colorgcc/bin/${a} - fi - done - - dodoc CREDITS ChangeLog || die -} - -pkg_postinst() { - echo - elog "If you have existing \$HOME/.colorgccrc files that set the location" - elog "of the compilers, you should remove those lines for maximum" - elog "flexibility. The colorgcc script now knows how to pass the command" - elog "on to the next step in the PATH without manual tweaking, making it" - elog "easier to use with things like ccache and distcc on a conditional" - elog "basis. You can tweak the /etc/colorgcc/colorgccrc file to change" - elog "the default settings for everyone (or copy this file as a basis for" - elog "a custom \$HOME/.colorgccrc file)." - elog - elog "NOTE: the symlinks for colorgcc are now located in" - elog "/usr/lib/colorgcc/bin *NOT* /usr/bin/wrappers. You'll need to" - elog "change any PATH settings that referred to the old location." - echo - # portage won't delete the old symlinks for users that are upgrading - # because the old symlinks still point to /usr/bin/colorgcc which exists... - [ -d "${ROOT}"/usr/bin/wrappers ] && rm -fr "${ROOT}"/usr/bin/wrappers -} diff --git a/dev-util/colorgcc/colorgcc-1.3.2-r5.ebuild b/dev-util/colorgcc/colorgcc-1.3.2-r5.ebuild deleted file mode 100644 index 9b659857bbe7..000000000000 --- a/dev-util/colorgcc/colorgcc-1.3.2-r5.ebuild +++ /dev/null @@ -1,65 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=3 -inherit eutils - -DESCRIPTION="Adds color to gcc output" -HOMEPAGE="http://schlueters.de/colorgcc.html" -SRC_URI="mirror://gentoo/${P}.tar.gz" - -SLOT="0" -LICENSE="GPL-2" -KEYWORDS="~alpha ~amd64 hppa ~mips ~ppc ~sparc ~x86 ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" -IUSE="" - -DEPEND="dev-lang/perl" -RDEPEND="${DEPEND}" - -src_prepare() { - epatch \ - "${FILESDIR}"/${P}-gentoo-one.patch \ - "${FILESDIR}"/${P}-gentoo-two.patch \ - "${FILESDIR}"/${P}-note.patch -} - -src_configure() { :; } - -src_compile() { :; } - -src_install() { - dobin colorgcc || die - dodir /etc/colorgcc /usr/lib/colorgcc/bin - insinto /etc/colorgcc - doins colorgccrc || die - einfo "Scanning for compiler front-ends" - into /usr/lib/colorgcc/bin - for a in gcc cc c++ g++ ${CHOST}-gcc ${CHOST}-c++ ${CHOST}-g++ ; do - if [ -n "$(type -p ${a})" ]; then - dosym /usr/bin/colorgcc /usr/lib/colorgcc/bin/${a} - fi - done - - dodoc CREDITS ChangeLog || die -} - -pkg_postinst() { - echo - elog "If you have existing \$HOME/.colorgccrc files that set the location" - elog "of the compilers, you should remove those lines for maximum" - elog "flexibility. The colorgcc script now knows how to pass the command" - elog "on to the next step in the PATH without manual tweaking, making it" - elog "easier to use with things like ccache and distcc on a conditional" - elog "basis. You can tweak the /etc/colorgcc/colorgccrc file to change" - elog "the default settings for everyone (or copy this file as a basis for" - elog "a custom \$HOME/.colorgccrc file)." - elog - elog "NOTE: the symlinks for colorgcc are now located in" - elog "/usr/lib/colorgcc/bin *NOT* /usr/bin/wrappers. You'll need to" - elog "change any PATH settings that referred to the old location." - echo - # portage won't delete the old symlinks for users that are upgrading - # because the old symlinks still point to /usr/bin/colorgcc which exists... - [ -d "${EROOT}"/usr/bin/wrappers ] && rm -fr "${EROOT}"/usr/bin/wrappers -} |