From 45ff96c4367498d70f3c449f199b05462d088d38 Mon Sep 17 00:00:00 2001 From: Conrad Kostecki Date: Tue, 30 Oct 2018 12:29:19 +0100 Subject: dev-libs/libugpio: New package MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Libugio is a library to easy the use of linux kernel's sysfs gpio interface from C programs and/or other libraries. Closes: https://bugs.gentoo.org/667798 Signed-off-by: Conrad Kostecki Package-Manager: Portage-2.3.51, Repoman-2.3.11 Signed-off-by: Michał Górny --- dev-libs/libugpio/Manifest | 1 + dev-libs/libugpio/libugpio-0.0.6.ebuild | 30 ++++++++++++++++++++++++++++++ dev-libs/libugpio/metadata.xml | 21 +++++++++++++++++++++ 3 files changed, 52 insertions(+) create mode 100644 dev-libs/libugpio/Manifest create mode 100644 dev-libs/libugpio/libugpio-0.0.6.ebuild create mode 100644 dev-libs/libugpio/metadata.xml (limited to 'dev-libs/libugpio') diff --git a/dev-libs/libugpio/Manifest b/dev-libs/libugpio/Manifest new file mode 100644 index 000000000000..b401fa766438 --- /dev/null +++ b/dev-libs/libugpio/Manifest @@ -0,0 +1 @@ +DIST libugpio-0.0.6.tar.bz2 252283 BLAKE2B ebdfae8ef400b3deb95e4313fd0ca2ad7b195945c850ce5c84904373bca2f2c9d446aec45b0500f549ab5319a294fbc2f0c37a6734fab69d8571389a0cb5fb63 SHA512 f40517d34509f9f3b5b26a5cb5523863034d48887ef3f26bd38a38e9aeac73e09ecf71099cd5a036e23fe3db5c8c2ead588c49022a398f2a426bc7148cc64ecd diff --git a/dev-libs/libugpio/libugpio-0.0.6.ebuild b/dev-libs/libugpio/libugpio-0.0.6.ebuild new file mode 100644 index 000000000000..f48a044c9827 --- /dev/null +++ b/dev-libs/libugpio/libugpio-0.0.6.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit linux-info + +DESCRIPTION="Lib for the use of linux kernel's sysfs gpio interface from C programs" +HOMEPAGE="https://github.com/mhei/libugpio" +SRC_URI="https://github.com/mhei/${PN}/releases/download/v${PV}/${P}.tar.bz2" + +LICENSE="GPL-3+ LGPL-2.1+" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" + +CONFIG_CHECK="~CONFIG_GPIO_SYSFS" + +src_configure() { + local myeconfargs=( + --disable-static + ) + + econf "${myeconfargs[@]}" +} + +src_install() { + default + + find "${D}" -name '*.la' -delete || die +} diff --git a/dev-libs/libugpio/metadata.xml b/dev-libs/libugpio/metadata.xml new file mode 100644 index 000000000000..1340ccfdad65 --- /dev/null +++ b/dev-libs/libugpio/metadata.xml @@ -0,0 +1,21 @@ + + + + + ck+gentoo@bl4ckb0x.de + Conrad Kostecki + + + proxy-maint@gentoo.org + Proxy Maintainers + + + Libugpio is a free software library to ease the use of linux kernel's sysfs + gpio interface from C programs and/or other libraries. + The basic function set is derived from the kernel internal gpio api. + + + https://github.com/mhei/libugpio/issues + mhei/libugpio + + -- cgit v1.2.3-65-gdbad