diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-02-10 21:05:55 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-02-10 21:05:55 +0000 |
commit | 71deace00d1a2b091313fe137ab7092418c6f87c (patch) | |
tree | 9f1f0dee23e13658e52f49437befe78427148c51 /dev-util/colorgcc/colorgcc-1.3.2-r7.ebuild | |
parent | 29aabba0ea759c6a2864ff5631735b67ee38e5e0 (diff) |
gentoo resync : 10.02.2020
Diffstat (limited to 'dev-util/colorgcc/colorgcc-1.3.2-r7.ebuild')
-rw-r--r-- | dev-util/colorgcc/colorgcc-1.3.2-r7.ebuild | 30 |
1 files changed, 12 insertions, 18 deletions
diff --git a/dev-util/colorgcc/colorgcc-1.3.2-r7.ebuild b/dev-util/colorgcc/colorgcc-1.3.2-r7.ebuild index 60880cdc1e34..899387414cc4 100644 --- a/dev-util/colorgcc/colorgcc-1.3.2-r7.ebuild +++ b/dev-util/colorgcc/colorgcc-1.3.2-r7.ebuild @@ -1,18 +1,15 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=5 - -inherit eutils +EAPI=7 DESCRIPTION="Perl script to colorise the gcc output." HOMEPAGE="http://schlueters.de/colorgcc.html" SRC_URI="mirror://gentoo/${P}.tar.gz" -SLOT="0" LICENSE="GPL-2" +SLOT="0" KEYWORDS="~alpha amd64 hppa ~mips ppc sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" -IUSE="" DEPEND="dev-lang/perl" RDEPEND="${DEPEND}" @@ -24,24 +21,21 @@ PATCHES=( "${FILESDIR}"/${P}-nohang.patch ) -src_prepare() { - epatch "${PATCHES[@]}" -} - src_install() { - dobin "${PN}" - dodir "/etc/${PN}" "/usr/lib/${PN}/bin" - insinto "/etc/${PN}" - doins "${PN}rc" + dobin ${PN} + + insinto /etc/${PN} + doins ${PN}rc + einfo "Scanning for compiler front-ends" - into "/usr/lib/${PN}/bin" - local COMPILERS=( gcc cc c++ g++ ${CHOST}-gcc ${CHOST}-c++ ${CHOST}-g++ ) + dodir /usr/lib/${PN}/bin + local c COMPILERS=( gcc cc c++ g++ ${CHOST}-gcc ${CHOST}-c++ ${CHOST}-g++ ) for c in "${COMPILERS[@]}"; do [[ -n "$(type -p ${c})" ]] && \ - dosym "/usr/bin/${PN}" "/usr/lib/${PN}/bin/${c}" + dosym ../../../bin/${PN} /usr/lib/${PN}/bin/${c} done - dodoc CREDITS ChangeLog + einstalldocs } pkg_postinst() { |