diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-03-27 06:06:27 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-03-27 06:06:27 +0000 |
commit | 8d5dbd847cbc704a6a06405856e94b461011afe3 (patch) | |
tree | 4d26462d027b14926335894749d2e01d982234d0 /net-libs/libnetconf2 | |
parent | 5bb9ff1ee56d2b5e75e01a7f066d8b0cec84ec02 (diff) |
gentoo resync : 27.03.2021
Diffstat (limited to 'net-libs/libnetconf2')
-rw-r--r-- | net-libs/libnetconf2/Manifest | 3 | ||||
-rw-r--r-- | net-libs/libnetconf2/libnetconf2-1.1.36.ebuild | 46 | ||||
-rw-r--r-- | net-libs/libnetconf2/metadata.xml | 15 |
3 files changed, 64 insertions, 0 deletions
diff --git a/net-libs/libnetconf2/Manifest b/net-libs/libnetconf2/Manifest new file mode 100644 index 000000000000..4c05da1c175c --- /dev/null +++ b/net-libs/libnetconf2/Manifest @@ -0,0 +1,3 @@ +DIST libnetconf2-1.1.36.tar.gz 294950 BLAKE2B 20eca2ba26353dff8636c48c06fe2dfc79603234c2def66a12dc7946050a81fb8d2a7c082aa6b6b3b1632eecba84e129739e659fd76a8c30bc500526e3ef48da SHA512 6a992a8d6e933661ba8f4de56f951e2fcdc1c8807d220528866afbdf0a5b6bafb6a99d78eb5cd8a7970519687a6121cb49517946a2beae5e496b80c2d95a34b2 +EBUILD libnetconf2-1.1.36.ebuild 843 BLAKE2B 9df9be4d65e1c09f8f190b2460815a33d9337f66807cd6a817dfb236f0ffd7752e962b840870539a8d1ac6bcdcfb3cd3e2de7f167873a225236188e59f04a871 SHA512 f53a4cedc5abf3451623fb8dbd8dd6ab5216b1e8a78d1d564361c28c38f14210b166e1552c3d43c7840bcb4f8cfa7d7f96335dd25319f6ab0c6b28c6df1715d1 +MISC metadata.xml 451 BLAKE2B 978f667c90ce54ea7919efb05ffdd032f7eb8d4f8360987da83e6f6610d5428afbb0ff8b447e0d82a1399cad2fb2f75bb62a73e98b3342ff7e1c3adf2e6c425f SHA512 9b66e4d2309627dee98cedc5debe1fd0e6079593b1733a5d8eac7af420a23082e86426f742ea10cf0928f730f15127e9808a27bb347488086982b665ea305504 diff --git a/net-libs/libnetconf2/libnetconf2-1.1.36.ebuild b/net-libs/libnetconf2/libnetconf2-1.1.36.ebuild new file mode 100644 index 000000000000..b56ba4d23efb --- /dev/null +++ b/net-libs/libnetconf2/libnetconf2-1.1.36.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:= + 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/. +} diff --git a/net-libs/libnetconf2/metadata.xml b/net-libs/libnetconf2/metadata.xml new file mode 100644 index 000000000000..4856bf68220b --- /dev/null +++ b/net-libs/libnetconf2/metadata.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>jakov.smolic@sartura.hr</email> + <name>Jakov Smolic</name> + </maintainer> + <maintainer type="project"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> + <upstream> + <remote-id type="github">CESNET/libnetconf2</remote-id> + </upstream> +</pkgmetadata> |