Overlay/dev-util/colormake/colormake-9999.ebuild

41 lines
729 B
Bash
Raw Normal View History

2019-02-13 16:22:03 +03:00
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
2022-08-05 09:05:30 +03:00
EAPI="7"
2019-02-13 16:22:03 +03:00
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
2021-10-13 09:48:32 +03:00
eapply_user
2019-02-13 16:22:03 +03:00
fi
}
src_install() {
dobin colormake{,.pl} || die
}