summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakov Smolić <jsmolic@gentoo.org>2021-09-24 09:53:08 +0200
committerJakov Smolić <jsmolic@gentoo.org>2021-09-24 10:40:27 +0200
commitedfb222424afbd9bd68ac41dd8e1a206704885fc (patch)
tree5b5df7a558b4cee97e4766c03a1c1d0fc54f85c9 /net-libs
parentdev-ruby/spreadsheet: add 1.3.0 (diff)
downloadgentoo-edfb222424afbd9bd68ac41dd8e1a206704885fc.tar.gz
gentoo-edfb222424afbd9bd68ac41dd8e1a206704885fc.tar.bz2
gentoo-edfb222424afbd9bd68ac41dd8e1a206704885fc.zip
net-libs/libyang: Version bump to 2.0.88
Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>
Diffstat (limited to 'net-libs')
-rw-r--r--net-libs/libyang/Manifest1
-rw-r--r--net-libs/libyang/libyang-2.0.88.ebuild45
2 files changed, 46 insertions, 0 deletions
diff --git a/net-libs/libyang/Manifest b/net-libs/libyang/Manifest
index a54e40023175..fcfbb472a736 100644
--- a/net-libs/libyang/Manifest
+++ b/net-libs/libyang/Manifest
@@ -1 +1,2 @@
DIST libyang-2.0.7.tar.gz 1031818 BLAKE2B a3ad7dc0bcff14ea5fec0221f11efb2ef61efa8b4b3c8ebd6d58f3184cc1f1979c026985c1782d2f2177227a8aae815c6c4fa7063fb19156af78f65740623318 SHA512 edb1d8d372b25ed820fa312e0dc96d4af7c8cd5ddeb785964de73f64774062ea7a5586bb27e2039ad24189d4a2ba04268921ca86e82423fc48647d1d10a2a0a7
+DIST libyang-2.0.88.tar.gz 1064840 BLAKE2B cb9fad7a1a1cd11f4f9687e0d413e485e42697b2b75ce42d042adcf8533d2e5984437818f80dc8611df4187783dce27323d9c72c6d00c85264d44d47db3bd4dd SHA512 8fcc052e8648f65dde2bac46370d496ba7682000de1818b4f7bdab12817922875382b827b61ff62d586e1d1e8b4f2f69028eb4b9808ef05c984174f050604258
diff --git a/net-libs/libyang/libyang-2.0.88.ebuild b/net-libs/libyang/libyang-2.0.88.ebuild
new file mode 100644
index 000000000000..f34f5a455181
--- /dev/null
+++ b/net-libs/libyang/libyang-2.0.88.ebuild
@@ -0,0 +1,45 @@
+# Copyright 2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+CMAKE_ECLASS=cmake
+inherit cmake-multilib
+
+DESCRIPTION="YANG data modeling language library"
+HOMEPAGE="https://github.com/CESNET/libyang"
+SRC_URI="https://github.com/CESNET/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~x86"
+IUSE="doc test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="dev-libs/libpcre2[${MULTILIB_USEDEP}]"
+DEPEND="
+ ${RDEPEND}
+ test? ( dev-util/cmocka )
+"
+BDEPEND="
+ virtual/pkgconfig
+ doc? ( app-doc/doxygen[dot] )
+"
+
+multilib_src_configure() {
+ local mycmakeargs=(
+ -DENABLE_TESTS=$(usex test)
+ -DENABLE_VALGRIND_TESTS=OFF
+ )
+ cmake_src_configure
+}
+
+multilib_src_compile() {
+ cmake_src_compile
+
+ multilib_is_native_abi && use doc && cmake_src_compile doc
+}
+
+multilib_src_install_all() {
+ use doc && dodoc -r doc/.
+}