mirror of
https://github.com/gentoo-mirror/guru.git
synced 2025-04-20 23:46:14 -04:00
Signed-off-by: Azael Reyes <azael.devel@gmail.com> Package-Manager: Portage-2.3.89, Repoman-2.3.20
34 lines
790 B
Bash
34 lines
790 B
Bash
# Copyright 1999-2020 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=7
|
|
DESCRIPTION="C/C++ library to mainly provide Semantic Versioned inplmetation."
|
|
HOMEPAGE="https://github.com/azaeldevel/octetos-core"
|
|
SRC_URI="https://github.com/azaeldevel/octetos-core/archive/2.0.0-alpha.2.tar.gz"
|
|
LICENSE="GPL-3"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64"
|
|
IUSE=""
|
|
DEPEND=""
|
|
RDEPEND="${DEPEND}"
|
|
BDEPEND="dev-util/cunit >=sys-devel/gcc-8.1 >=sys-devel/bison-3.1"
|
|
|
|
src_unpack() {
|
|
unpack ${A}
|
|
ln -s octetos-core-2.0.0-alpha.2 $P
|
|
}
|
|
src_prepare() {
|
|
autoreconf -fi
|
|
eapply_user
|
|
}
|
|
src_configure() {
|
|
if [[ -x ${ECONF_SOURCE:-.}/configure ]] ; then
|
|
econf
|
|
fi
|
|
}
|
|
src_compile() {
|
|
if [ -f Makefile ] || [ -f GNUmakefile ] || [ -f makefile ]; then
|
|
emake || die "emake failed"
|
|
fi
|
|
}
|