dev-libs/libugpio: New package

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 <conrad@kostecki.com>
Package-Manager: Portage-2.3.51, Repoman-2.3.11
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Conrad Kostecki
2018-10-30 12:29:19 +01:00
committed by Michał Górny
parent 0ca9ae3132
commit 45ff96c436
3 changed files with 52 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST libugpio-0.0.6.tar.bz2 252283 BLAKE2B ebdfae8ef400b3deb95e4313fd0ca2ad7b195945c850ce5c84904373bca2f2c9d446aec45b0500f549ab5319a294fbc2f0c37a6734fab69d8571389a0cb5fb63 SHA512 f40517d34509f9f3b5b26a5cb5523863034d48887ef3f26bd38a38e9aeac73e09ecf71099cd5a036e23fe3db5c8c2ead588c49022a398f2a426bc7148cc64ecd

View File

@@ -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
}

View File

@@ -0,0 +1,21 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>ck+gentoo@bl4ckb0x.de</email>
<name>Conrad Kostecki</name>
</maintainer>
<maintainer type="project">
<email>proxy-maint@gentoo.org</email>
<name>Proxy Maintainers</name>
</maintainer>
<longdescription>
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.
</longdescription>
<upstream>
<bugs-to>https://github.com/mhei/libugpio/issues</bugs-to>
<remote-id type="github">mhei/libugpio</remote-id>
</upstream>
</pkgmetadata>