dev-libs/octetos-coreutils: fixed fail with build 0.12

Signed-off-by: Azael Reyes <azael.devel@gmail.com>
Package-Manager: Portage-3.0.20, Repoman-3.0.2
This commit is contained in:
Azael Reyes
2021-06-27 21:08:50 -07:00
parent 7ccec0e4af
commit 7d46c2dcbb
2 changed files with 10 additions and 3 deletions

View File

@@ -0,0 +1,42 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit autotools
MYPV="${PV/_alpha/-alpha}"
MYP="${PN}-${MYPV}"
DESCRIPTION="Similar to coreutils but is a C++ API."
HOMEPAGE="https://github.com/azaeldevel/octetos-coreutils"
if [[ ${PV} == 9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/azaeldevel/octetos-coreutils.git"
else
inherit autotools
SRC_URI="https://github.com/azaeldevel/${PN}/archive/${MYPV}.tar.gz -> ${P}.tar.gz"
fi
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64"
DEPEND="dev-libs/octetos-core"
RDEPEND="${DEPEND}"
BDEPEND="
dev-libs/check
dev-util/cunit
"
S="${WORKDIR}/${MYP}"
src_prepare() {
default
eautoreconf -fi
}
src_configure() {
econf
}