diff options
Diffstat (limited to 'net-libs/libyang')
-rw-r--r-- | net-libs/libyang/Manifest | 2 | ||||
-rw-r--r-- | net-libs/libyang/libyang-2.1.148.ebuild | 46 |
2 files changed, 48 insertions, 0 deletions
diff --git a/net-libs/libyang/Manifest b/net-libs/libyang/Manifest index bc8b6e5e5124..e5ab1e91bd90 100644 --- a/net-libs/libyang/Manifest +++ b/net-libs/libyang/Manifest @@ -1,3 +1,5 @@ +DIST libyang-2.1.148.tar.gz 1266532 BLAKE2B e955958319a4ad8c241720c3a425ab2a298916b8ba34e91ff2b43bafaae65fb0d41c904af894d3c5025ab253a40cb6f4732137b195169785628f6cedeb054acb SHA512 548628e6879f37cd27b0b39197a389c140b4372d11309f588ab93a4d74889b59f891f5b6bc447b491e24544559a42e93a1dbfa49827506aed30b226cf61ca400 DIST libyang-2.1.55.tar.gz 1201664 BLAKE2B b23d886163b1082c8895d1450113f364288eb6f77c4c73f7da1576877c35312b5558dbaf90e43268e18dd9348b024547c8cc4ee3a7ddabfb3762ffe67c47dc17 SHA512 dd0b58aec7e2d84f62636c62c9e7f67f0b4819e8d5ce9236874a3531607aa6fb58ccdcf537534eae8bfa700c37b8e3524be659929f4e7e03f8f67968bc352cb4 +EBUILD libyang-2.1.148.ebuild 806 BLAKE2B a5169cbb28b65d1727a01e602735000b1e9800524cef3169729fdb3460bcee3fe6ea22275dec38bd952f5298a4f20f050a0b5882390b0939539102d7fcc25e97 SHA512 c5a7cc2fb007fdfaaa6d7727fed98325bc229e18b44888a348eb7f669f2a567432256c54d750d24f1d438847babd16206db481c0229df4f711412fb9fa797008 EBUILD libyang-2.1.55.ebuild 805 BLAKE2B d30273750afc3689c63d26e15c89d624d46091b229843346b56cb5285b25ab834abbe29fc57fb54cf310c6cf3330b614454114de65612ab0942041b57ad91bdd SHA512 5b2d3b61453974294cddaf8a497898ff5a7a54edfbf8933496fdfb38b0bc45267a2a1742106446fd7525b1d054e82083370fef89d02de3f9360e9a2f46fdd72e MISC metadata.xml 327 BLAKE2B ea8b33be859f8dd94b8aeff9bec39e90b9b0c2984c7df56de4ff7b0c39006723b721119b6fde6fe120f9d423559e8450ecbee3dbe1a65705f9c3e55c34eba1e3 SHA512 14c3ef2d8d242a8bcf7786419afe8b723455603bf187dad10f619b67c9c30bc0e0ab681974b294a4c73f0a32ca68366a1b7b2a730f6d3362af348765c0da1e31 diff --git a/net-libs/libyang/libyang-2.1.148.ebuild b/net-libs/libyang/libyang-2.1.148.ebuild new file mode 100644 index 000000000000..3941774937b6 --- /dev/null +++ b/net-libs/libyang/libyang-2.1.148.ebuild @@ -0,0 +1,46 @@ +# Copyright 2021-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +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" +DEPEND=" + ${RDEPEND} + test? ( dev-util/cmocka ) +" +BDEPEND=" + virtual/pkgconfig + doc? ( app-text/doxygen[dot] ) +" + +src_configure() { + local mycmakeargs=( + -DENABLE_TESTS=$(usex test) + -DENABLE_VALGRIND_TESTS=OFF + ) + cmake_src_configure +} + +src_compile() { + cmake_src_compile + + use doc && cmake_src_compile doc +} + +src_install() { + cmake_src_install + + use doc && dodoc -r doc/. +} |