diff options
author | Jakov Smolic <jakov.smolic@sartura.hr> | 2021-03-30 12:11:44 +0200 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2021-03-30 12:11:44 +0200 |
commit | ed1f8ac02e2132d5e92581ac5e5b12d34f9fbbb8 (patch) | |
tree | e2d08737e58c232dfe945b5bb044aa9d0ee86a24 /net-libs/libnetconf2 | |
parent | sys-devel/elftoolchain: Build and install all avalable tools (diff) | |
download | gentoo-ed1f8ac02e2132d5e92581ac5e5b12d34f9fbbb8.tar.gz gentoo-ed1f8ac02e2132d5e92581ac5e5b12d34f9fbbb8.tar.bz2 gentoo-ed1f8ac02e2132d5e92581ac5e5b12d34f9fbbb8.zip |
net-libs/libnetconf2: Bump to 1.1.43
Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr>
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'net-libs/libnetconf2')
-rw-r--r-- | net-libs/libnetconf2/Manifest | 1 | ||||
-rw-r--r-- | net-libs/libnetconf2/libnetconf2-1.1.43.ebuild | 46 |
2 files changed, 47 insertions, 0 deletions
diff --git a/net-libs/libnetconf2/Manifest b/net-libs/libnetconf2/Manifest index d3a88b227efa..99572cd54a54 100644 --- a/net-libs/libnetconf2/Manifest +++ b/net-libs/libnetconf2/Manifest @@ -1 +1,2 @@ DIST libnetconf2-1.1.36.tar.gz 294950 BLAKE2B 20eca2ba26353dff8636c48c06fe2dfc79603234c2def66a12dc7946050a81fb8d2a7c082aa6b6b3b1632eecba84e129739e659fd76a8c30bc500526e3ef48da SHA512 6a992a8d6e933661ba8f4de56f951e2fcdc1c8807d220528866afbdf0a5b6bafb6a99d78eb5cd8a7970519687a6121cb49517946a2beae5e496b80c2d95a34b2 +DIST libnetconf2-1.1.43.tar.gz 295502 BLAKE2B 49bd58d785a0b7b132c4503b0b8a823ff3578e6e1d30e0c0e4aecf6ebb6f769f465069ebbfce7fd090e64e0b798ab8977535c634f45e677cec00d7c73edaee20 SHA512 2aff10ef003d5ee1f72a3c01a0fd07f7a1ac3b1961c88a9616632255d7392d386e0acad97fc68b3f5f1a0b4804dcb0900afa625208ab0dd33cf03706f7a89f5d diff --git a/net-libs/libnetconf2/libnetconf2-1.1.43.ebuild b/net-libs/libnetconf2/libnetconf2-1.1.43.ebuild new file mode 100644 index 000000000000..95d4cfb62dab --- /dev/null +++ b/net-libs/libnetconf2/libnetconf2-1.1.43.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-1.0.225:= + 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/. +} |