From c051867ab9e4404ea45c667a9599c591ee5797dd Mon Sep 17 00:00:00 2001 From: Jakov Smolic Date: Thu, 27 May 2021 23:12:09 +0200 Subject: net-libs/libnetconf2: Bump to 2.0.1 Signed-off-by: Jakov Smolic Signed-off-by: David Seifert --- net-libs/libnetconf2/Manifest | 1 + net-libs/libnetconf2/libnetconf2-2.0.1.ebuild | 46 +++++++++++++++++++++++++++ 2 files changed, 47 insertions(+) create mode 100644 net-libs/libnetconf2/libnetconf2-2.0.1.ebuild (limited to 'net-libs/libnetconf2') diff --git a/net-libs/libnetconf2/Manifest b/net-libs/libnetconf2/Manifest index 183b46385cc8..0d2a345ee669 100644 --- a/net-libs/libnetconf2/Manifest +++ b/net-libs/libnetconf2/Manifest @@ -1 +1,2 @@ DIST libnetconf2-1.1.43.tar.gz 295502 BLAKE2B 49bd58d785a0b7b132c4503b0b8a823ff3578e6e1d30e0c0e4aecf6ebb6f769f465069ebbfce7fd090e64e0b798ab8977535c634f45e677cec00d7c73edaee20 SHA512 2aff10ef003d5ee1f72a3c01a0fd07f7a1ac3b1961c88a9616632255d7392d386e0acad97fc68b3f5f1a0b4804dcb0900afa625208ab0dd33cf03706f7a89f5d +DIST libnetconf2-2.0.1.tar.gz 292658 BLAKE2B d2821b4b66773b777764f7a453649a7ea60bacc418a8ff5c33e54b244a1f285b84ec8a1cc6d6285ff280c8631d79dfe9db352ad03781a7694762efd8545462ac SHA512 26f0a900387a8dbf5c12136d29529e7aba973dba4e1e3ff091cb70385a686533f041cfe647e273f6188b9494b67f771564b2e32f10e1fc61586112d88837f5c8 diff --git a/net-libs/libnetconf2/libnetconf2-2.0.1.ebuild b/net-libs/libnetconf2/libnetconf2-2.0.1.ebuild new file mode 100644 index 000000000000..f0a8c42ffd2b --- /dev/null +++ b/net-libs/libnetconf2/libnetconf2-2.0.1.ebuild @@ -0,0 +1,46 @@ +# Copyright 2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake + +DESCRIPTION="C library for building NETCONF servers and clients" +HOMEPAGE="https://github.com/CESNET/libnetconf2" +SRC_URI="https://github.com/CESNET/libnetconf2/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc test" +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-libs/openssl:0= + >=net-libs/libyang-2.0.0:= + net-libs/libssh:0=[server]" +DEPEND="${RDEPEND} + test? ( dev-util/cmocka )" +BDEPEND=" + virtual/pkgconfig + doc? ( app-doc/doxygen[dot] )" + +src_configure() { + local mycmakeargs=( + -DENABLE_BUILD_TESTS=$(usex test) + ) + + cmake_src_configure +} + +src_compile() { + cmake_src_compile + + use doc && cmake_src_compile doc +} + +src_install() { + cmake_src_install + + use doc && dodoc -r doc/. +} -- cgit v1.2.3-65-gdbad