Overlay/dev-util/colormake/colormake-0.2-r2.ebuild

31 lines
698 B
Bash
Raw Normal View History

2012-05-16 15:12:38 +04:00
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
inherit eutils
DESCRIPTION="Colorizing wrapper around make"
HOMEPAGE="http://bre.klaki.net/programs/colormake/"
SRC_URI="${HOMEPAGE}${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
2018-06-21 11:54:11 +03:00
KEYWORDS="amd64 x86"
2012-05-16 15:12:38 +04:00
IUSE="vanilla"
RDEPEND="dev-lang/perl"
S=${WORKDIR}/${PN}
src_unpack() {
unpack ${A}
cd "${S}"
use vanilla || epatch "${FILESDIR}"/${P}-disable-broken-tagging.patch
epatch "${FILESDIR}"/${P}-save-pipe-exit-status.patch
2012-05-28 16:33:45 +04:00
epatch "${FILESDIR}"/${P}-cmake.patch
2012-05-16 15:12:38 +04:00
mv cmake colormake # prevent clash with dev-util/cmake
rm Makefile
}
src_install() {
dobin colormake{,.pl} || die
}