diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-12-14 13:26:14 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-12-14 13:26:14 +0000 |
commit | 6abbf81ef2f298e3221ff5e67a1f3c5f23958212 (patch) | |
tree | 25413d1cb3a0cbfe36029db32398c0f333609215 /net-libs/libyang | |
parent | 9c417bacd51da6d8b57fa9f37425161d30d4b95b (diff) |
gentoo resync : 14.12.2020
Diffstat (limited to 'net-libs/libyang')
-rw-r--r-- | net-libs/libyang/Manifest | 3 | ||||
-rw-r--r-- | net-libs/libyang/libyang-1.0.184.ebuild | 44 | ||||
-rw-r--r-- | net-libs/libyang/metadata.xml | 11 |
3 files changed, 58 insertions, 0 deletions
diff --git a/net-libs/libyang/Manifest b/net-libs/libyang/Manifest new file mode 100644 index 000000000000..11c32bab9066 --- /dev/null +++ b/net-libs/libyang/Manifest @@ -0,0 +1,3 @@ +DIST libyang-1.0.184.tar.gz 1659420 BLAKE2B 55b54e5440fb08437a91df2c218e4add37740c0416b26e9ac3b5949a4a5ba25ded8c4c7668e0bf20c8ffcfbae95f7c4699673998285ce37c17604f121429fd4f SHA512 bb1c396b6048d848ea844cc462f1ee9f14b0dad848c7618ec0f9bd239d28db8a94f94550c5439ca07e01824a910a748ec6be699c58150b34072c2f9b76acd95c +EBUILD libyang-1.0.184.ebuild 745 BLAKE2B c113c0bf038e829c09c4da4320eed0867d1ff53a645dfb4f642e3411d2fb859e3fdebe9338d8c3e11e51b5e59af599567e08fe661d816b284c70e42611a3afef SHA512 8be276b8622918fe54b91e82164dcbf5b24187f04eb374e9feb21d2c0a3ac2cecb51061730835edb3d487602772da7a90212b06419476fd55cc2287cb50f8293 +MISC metadata.xml 326 BLAKE2B 45b056740b8b584e8b4e559a006238f1ffab67c325b7a23916bd642d3e9fee1503e165dc3477aa7b51ad1555e8e2c4e1c74b7d1b868b22c6ea96e286f4787a11 SHA512 00e03ea5ff75266886efc60fb13079cd2c0983ab0707f2002c44e7e3cbb984778f5d6341838ad7fb7ae1679fcacabfc949b9d733a4a88bc2ecb503352afe2eed diff --git a/net-libs/libyang/libyang-1.0.184.ebuild b/net-libs/libyang/libyang-1.0.184.ebuild new file mode 100644 index 000000000000..5c9ff1be96a1 --- /dev/null +++ b/net-libs/libyang/libyang-1.0.184.ebuild @@ -0,0 +1,44 @@ +# Copyright 2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +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 ~x86" + +IUSE="doc" + +RDEPEND="dev-libs/libpcre" +DEPEND="${RDEPEND}" +BDEPEND=" + sys-devel/bison + sys-devel/flex + doc? ( app-doc/doxygen[dot] ) +" + +src_configure() { + local mycmakeargs=( + -DENABLE_LYD_PRIV=yes + -DGEN_LANGUAGE_BINDINGS=no + ) + cmake_src_configure +} + +src_compile() { + cmake_src_compile + + use doc && cmake_src_compile doc +} + +src_install() { + cmake_src_install + + use doc && dodoc -r "${S}"/doc/* +} diff --git a/net-libs/libyang/metadata.xml b/net-libs/libyang/metadata.xml new file mode 100644 index 000000000000..06418dac289b --- /dev/null +++ b/net-libs/libyang/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM 'http://www.gentoo.org/dtd/metadata.dtd'> +<pkgmetadata> + <maintainer type="person"> + <email>pinkbyte@gentoo.org</email> + <name>Sergey Popov</name> + </maintainer> + <upstream> + <remote-id type="github">CESNET/libyang</remote-id> + </upstream> +</pkgmetadata> |