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/libyang | |
parent | 5bb9ff1ee56d2b5e75e01a7f066d8b0cec84ec02 (diff) |
gentoo resync : 27.03.2021
Diffstat (limited to 'net-libs/libyang')
-rw-r--r-- | net-libs/libyang/Manifest | 2 | ||||
-rw-r--r-- | net-libs/libyang/libyang-1.0.225.ebuild | 44 |
2 files changed, 46 insertions, 0 deletions
diff --git a/net-libs/libyang/Manifest b/net-libs/libyang/Manifest index 51fae37fc640..5cf9e097315c 100644 --- a/net-libs/libyang/Manifest +++ b/net-libs/libyang/Manifest @@ -1,3 +1,5 @@ DIST libyang-1.0.215.tar.gz 1666478 BLAKE2B 66fc53458caf43e8473905ce9294efb9a49f0c73206a4c5ef96f7b79e72fff9429aa4245fdb29a7d2b4a23460d771d30a9397ca4d2ce76379675dc4a9f6427fd SHA512 042e7be3a658340eebb5aaf819169a516af5489c366c026b599d673b623811b01a5cc7b2fce0fe39c5deb5cce5b1e0e6dfc4eb85a331fb3203d415011e6d2dad +DIST libyang-1.0.225.tar.gz 1667054 BLAKE2B eb1bfd555d72aceba7da7ade1a55985caad9d3cc904c5504978c298ef9e08a6848c810d1b62b1fa7076a9f30638b6080a3546c07892d3e8980eb1db337dc4deb SHA512 3366df8c2869454b6da456010ca62b538876cba16fa84e1ed9053acca6d7756c15329c0fb8a62477a1887d6c00cce8449f29954b2d2b0e556d81baa11dc9776d EBUILD libyang-1.0.215.ebuild 897 BLAKE2B 404a7b7a0319cb61c2f13f882e6f2ab9563325063c2f4ab4c2f4a62de0598d22c29a02b8efe3165ddd6181c4920e1b7e8001cafde98e5cacb4c6691e70368dd8 SHA512 6834392c435108aa490861c17d4133f610ffe92560807206803dcc0206821a6c50989a917a0b9ce2db63577bbb8eb2c1e92368cab5baadd29fdbb93a1863092d +EBUILD libyang-1.0.225.ebuild 890 BLAKE2B c26b21d32893072ae441cc3697feb77c5cfebb9ea5ab45d8cc9a0af07ed07cc076832b3b303fb6138b3fe7e3eecb2c7bd898de1b98791495064c7b854736195e SHA512 ec5c85171f8790eab2d20311b2fe086bb90a7c75c4fd6614e85a520642e2a94f3a1675789510799b6ace2aeba9c6790fb535a3e75f744292e332dde00a4e955d MISC metadata.xml 326 BLAKE2B e52c1d56ed6f14dee505e8db5bfede4cb326e8a98a50df576244e8f2ce44d964449acbf00ad9bcd27f22546e1a029cfdec22919edd887a2db9e10f471f322af5 SHA512 bb91dc41fa93fae47c0ad7fa99868284e61a3d24b261cb5feb44cdcd91255744de1d860b1b98374e8d4a8ed4e931c2298c28527709f3e8c5b4bb223484edc076 diff --git a/net-libs/libyang/libyang-1.0.225.ebuild b/net-libs/libyang/libyang-1.0.225.ebuild new file mode 100644 index 000000000000..d56736baef1f --- /dev/null +++ b/net-libs/libyang/libyang-1.0.225.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 ~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/. +} |