# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 inherit cmake-utils DESCRIPTION="Hooks into stderr functions to make it red" HOMEPAGE="https://github.com/sickill/stderred" if [[ ${PV} == "9999" ]]; then EGIT_REPO_URI="${HOMEPAGE}.git" inherit git-r3 else SRC_URI="${HOMEPAGE}/archive/${PV}.tar.gz -> ${P}.tar.gz" KEYWORDS="~amd64" fi LICENSE="MIT" SLOT="0" CMAKE_USE_DIR="${S}/src" DEPEND=" dev-util/cmake " DOCS="COPYING LICENSE README.md" src_install() { dolib.so "${BUILD_DIR}/libstderred.so" }