colormake-9999 added

This commit is contained in:
Kolan Sh 2019-02-13 16:22:03 +03:00
parent 7854fd8292
commit ba2b9eda91
3 changed files with 58 additions and 0 deletions

View File

@ -0,0 +1,42 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=4
inherit eutils
if [[ ${PV} == "9999" ]] ; then
EGIT_REPO_URI=${EGIT_REPO_URI:-"https://github.com/pagekite/Colormake.git"}
inherit git-r3
KEYWORDS=""
else
SRC_URI="${HOMEPAGE}${P}.tar.gz"
KEYWORDS="-* ~x86 ~amd64"
fi
DESCRIPTION="Colorizing wrapper around make"
HOMEPAGE="http://bre.klaki.net/programs/colormake/"
SLOT="0"
LICENSE="GPL-2"
IUSE=""
DEPEND=""
RDEPEND="${DEPEND}"
src_prepare() {
epatch "${FILESDIR}"/${P}-cmake.patch
if [[ ${PV} == "9999" ]] ; then
# Allow user patches to be applied without modifying the ebuild
epatch_user
fi
}
src_install() {
dobin colormake{,.pl} || die
}

View File

@ -0,0 +1,15 @@
--- colormake 2019-02-13 16:16:56.933437336 +0300
+++ colormake 2019-02-13 16:19:20.779409415 +0300
@@ -7,6 +7,12 @@
# on the screen.
#
+# CMake uses its own color scheme
+if [ -f CMakeCache.txt ]; then
+ make $*
+ exit $?
+fi
+
if [ "$TERM" = "dumb" ];then
# As suggested by Alexander Korkov ...
exec make "$@"

View File

@ -90,6 +90,7 @@
<dev-util/cargo-0.28 ~amd64 <dev-util/cargo-0.28 ~amd64
dev-util/cbindgen ~amd64 dev-util/cbindgen ~amd64
<dev-util/cmake-3.12 ~amd64 <dev-util/cmake-3.12 ~amd64
=dev-util/colormake-9999 **
<dev-util/glade-3.21 ~amd64 <dev-util/glade-3.21 ~amd64
<dev-util/kbuild-0.2 ~amd64 <dev-util/kbuild-0.2 ~amd64
<dev-util/perf-5 ~amd64 <dev-util/perf-5 ~amd64