diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-04-06 22:33:41 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-04-06 22:33:41 +0100 |
commit | e68d405c5d712af4387159df07e226217bdda049 (patch) | |
tree | 009ab0f3d427f0813e62930d71802cb054c07e30 /net-libs/rtrlib/rtrlib-0.8.0.ebuild | |
parent | 401101f9c8077911929d3f2b60a37098460a5d89 (diff) |
gentoo resync : 06.04.2022
Diffstat (limited to 'net-libs/rtrlib/rtrlib-0.8.0.ebuild')
-rw-r--r-- | net-libs/rtrlib/rtrlib-0.8.0.ebuild | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/net-libs/rtrlib/rtrlib-0.8.0.ebuild b/net-libs/rtrlib/rtrlib-0.8.0.ebuild new file mode 100644 index 000000000000..aa20fd8a2970 --- /dev/null +++ b/net-libs/rtrlib/rtrlib-0.8.0.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +DESCRIPTION="An open-source C implementation of the RPKI/Router Protocol client" +HOMEPAGE="https://rtrlib.realmv6.org/" +SRC_URI="https://github.com/rtrlib/rtrlib/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +IUSE="doc ssh" + +RDEPEND="ssh? ( net-libs/libssh:0= )" +DEPEND=" + ${RDEPEND} + doc? ( app-doc/doxygen[dot] ) +" + +src_prepare() { + # Fix automagic dependency on doxygen, fix path for installing docs + if use doc; then + sed -i -e "s:share/doc/rtrlib:share/doc/${PF}:" CMakeLists.txt || die + else + sed -i -e '/find_package(Doxygen)/d' CMakeLists.txt || die + fi + cmake_src_prepare +} + +src_configure() { + local mycmakeargs=( + -DRTRLIB_TRANSPORT_SSH=$(usex ssh) + ) + cmake_src_configure +} + +src_install() { + cmake_src_install + find "${D}" -name '*.la' -delete || die +} |