diff options
author | Jakov Smolic <jakov.smolic@sartura.hr> | 2021-06-05 18:21:30 +0200 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2021-06-05 18:21:30 +0200 |
commit | 4f9ab37051ed7358e042a8fc7c2b24766cae6b49 (patch) | |
tree | 59973f49061b86f17c99b5d04e0e0dbabcdec643 /net-libs/libyang | |
parent | sci-libs/libecpint: Remove old 1.0.5 (diff) | |
download | gentoo-4f9ab37051ed7358e042a8fc7c2b24766cae6b49.tar.gz gentoo-4f9ab37051ed7358e042a8fc7c2b24766cae6b49.tar.bz2 gentoo-4f9ab37051ed7358e042a8fc7c2b24766cae6b49.zip |
net-libs/libyang: Bump to 1.0.240
Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr>
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'net-libs/libyang')
-rw-r--r-- | net-libs/libyang/Manifest | 1 | ||||
-rw-r--r-- | net-libs/libyang/libyang-1.0.240.ebuild | 44 |
2 files changed, 45 insertions, 0 deletions
diff --git a/net-libs/libyang/Manifest b/net-libs/libyang/Manifest index 83506472965e..475952f979e4 100644 --- a/net-libs/libyang/Manifest +++ b/net-libs/libyang/Manifest @@ -1,2 +1,3 @@ DIST libyang-1.0.236.tar.gz 1669013 BLAKE2B c977c4abd2466e88519e91483d876bf0b9397b32bcca017eaa948d638a70d3275cdec36070bad8925c87e3a6756df924ed043a14ecb6d23de8b63992f8607e58 SHA512 7e8be96bc87ea5c906d90e09f4fbae0ed96718894d3fbc784172cdc68e9e2c034fc8a114bc1389fb74ef32dfb65e447acff24b82967af1530ffba94cd204e6e9 +DIST libyang-1.0.240.tar.gz 1667619 BLAKE2B ec988301ee422cf90fd6d50b31f42f28f5f09fd772218311723149548d565c48283dbe0f1cd7ac924f031cac63659af321079ccd65d10deb2edbe7d9d649f492 SHA512 5637037ef25fb96184d444f27a1e921a18a91745bce7e796357a71ca15eb47b9c3ba0833fe8f792e54e9f02ac26be5168fd386d5f957b8f4d695ddc213c17c33 DIST libyang-2.0.7.tar.gz 1031818 BLAKE2B a3ad7dc0bcff14ea5fec0221f11efb2ef61efa8b4b3c8ebd6d58f3184cc1f1979c026985c1782d2f2177227a8aae815c6c4fa7063fb19156af78f65740623318 SHA512 edb1d8d372b25ed820fa312e0dc96d4af7c8cd5ddeb785964de73f64774062ea7a5586bb27e2039ad24189d4a2ba04268921ca86e82423fc48647d1d10a2a0a7 diff --git a/net-libs/libyang/libyang-1.0.240.ebuild b/net-libs/libyang/libyang-1.0.240.ebuild new file mode 100644 index 000000000000..463140a483d6 --- /dev/null +++ b/net-libs/libyang/libyang-1.0.240.ebuild @@ -0,0 +1,44 @@ +# Copyright 2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +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" + +RDEPEND="dev-libs/libpcre[${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND}" +BDEPEND=" + sys-devel/bison + sys-devel/flex + doc? ( app-doc/doxygen[dot] )" + +RESTRICT="!test? ( test )" + +multilib_src_configure() { + local mycmakeargs=( + -DENABLE_BUILD_TESTS=$(usex test) + -DENABLE_LYD_PRIV=yes + -DGEN_LANGUAGE_BINDINGS=no + ) + 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/. +} |