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

30 lines
661 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"
KEYWORDS="~amd64 ~x86"
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
mv cmake colormake # prevent clash with dev-util/cmake
rm Makefile
}
src_install() {
dobin colormake{,.pl} || die
}