diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-libs/libgpiod | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-libs/libgpiod')
-rw-r--r-- | dev-libs/libgpiod/Manifest | 3 | ||||
-rw-r--r-- | dev-libs/libgpiod/libgpiod-1.0.ebuild | 30 | ||||
-rw-r--r-- | dev-libs/libgpiod/metadata.xml | 11 |
3 files changed, 44 insertions, 0 deletions
diff --git a/dev-libs/libgpiod/Manifest b/dev-libs/libgpiod/Manifest new file mode 100644 index 000000000000..8bf405f1fc2e --- /dev/null +++ b/dev-libs/libgpiod/Manifest @@ -0,0 +1,3 @@ +DIST libgpiod-1.0.tar.gz 411974 BLAKE2B e6c962329f7fad374d2771e60aa87e679970e3b593dda73d51f0511b14122d8a9d94eee3355ede2221d4ff0cd10f7116874c535fe90092fd61ccc5aa8f7e9818 SHA512 e8a71a7028fa73a94d8507d4329bee024c3e73d1b619dd5500172bf36509c7ccee521ddb6ef07283e3a4217af9da12ce154af657f8a536883f5495ffccf46e0c +EBUILD libgpiod-1.0.ebuild 719 BLAKE2B 59a470e86ce2a0ae78030520ef902077d063d1571e5844b7290806e0f1088524d2f80c129ff8b79413d32db1962d595b2ab35ee74a222ae33ce4663c909196e4 SHA512 6b12f160c828d8251715a50c141a316019abec0d954b5a78313249ce2550fcb8466ca85587acc282be64869737fe2ea8033cbdc9682b5bebe0a733023d087222 +MISC metadata.xml 343 BLAKE2B fc70cc41ae2770c509013c4d1a5d8aaa441b6d52d1259b9e2f5cb2e8928e146f5451e399d1345901e88b1b488095990e8c9f9b296b43b38f91b38a22b3507c90 SHA512 051b47fa59f992bf8347e89d17eecf645d4a20457ac1d9db931982c9efa4a61d777df4e215a790d518ac77b2baa7497862fc724fbd581dccfa404bfd232d749b diff --git a/dev-libs/libgpiod/libgpiod-1.0.ebuild b/dev-libs/libgpiod/libgpiod-1.0.ebuild new file mode 100644 index 000000000000..c83a38aa5e72 --- /dev/null +++ b/dev-libs/libgpiod/libgpiod-1.0.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit multilib multilib-minimal + +DESCRIPTION="C library and tools for interacting with the linux GPIO character device" +HOMEPAGE="https://git.kernel.org/pub/scm/libs/libgpiod/libgpiod.git/" +SRC_URI="https://dev.gentoo.org/~blueness/libgpiod/${P}.tar.gz" + +LICENSE="LGPL-2.1" +# Reflects the ABI of libgpiod.so +SLOT="0/1" +KEYWORDS="~amd64 ~x86" +IUSE="static-libs +tools" + +multilib_src_configure() { + ECONF_SOURCE="${S}" econf \ + $(use_enable tools) +} + +multilib_src_install() { + default + + if ! use static-libs; then + find "${D}" -name "*.a" -delete || die + fi + find "${D}" -name '*.la' -delete || die +} diff --git a/dev-libs/libgpiod/metadata.xml b/dev-libs/libgpiod/metadata.xml new file mode 100644 index 000000000000..e9d3e660684a --- /dev/null +++ b/dev-libs/libgpiod/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>blueness@gentoo.org</email> + <name>Anthony G. Basile</name> + </maintainer> + <use> + <flag name="tools">Build some useful gpio tools that use libgpiod.</flag> + </use> +</pkgmetadata> |