diff options
-rw-r--r-- | dev-libs/libugpio/Manifest | 1 | ||||
-rw-r--r-- | dev-libs/libugpio/libugpio-0.0.7.ebuild | 30 |
2 files changed, 31 insertions, 0 deletions
diff --git a/dev-libs/libugpio/Manifest b/dev-libs/libugpio/Manifest index b401fa766438..3d7965f663ec 100644 --- a/dev-libs/libugpio/Manifest +++ b/dev-libs/libugpio/Manifest @@ -1 +1,2 @@ DIST libugpio-0.0.6.tar.bz2 252283 BLAKE2B ebdfae8ef400b3deb95e4313fd0ca2ad7b195945c850ce5c84904373bca2f2c9d446aec45b0500f549ab5319a294fbc2f0c37a6734fab69d8571389a0cb5fb63 SHA512 f40517d34509f9f3b5b26a5cb5523863034d48887ef3f26bd38a38e9aeac73e09ecf71099cd5a036e23fe3db5c8c2ead588c49022a398f2a426bc7148cc64ecd +DIST libugpio-0.0.7.tar.bz2 300015 BLAKE2B 430a17651f3c443424694d50817e562ab3c682ae2006c14d2ca46ee3078993e85214a0ca0b9323d148ca3aedaa758985cf5e2e45527e1d1278d3a36c3648ecf9 SHA512 27f8b00b13b4865635fa26e9b14c7fe217ee005c316500f0f344268d82f8d2858def524bd5cee11e9cca9c2a534a50546d5fc3504ecd1f88bd96c6fbefe1586e diff --git a/dev-libs/libugpio/libugpio-0.0.7.ebuild b/dev-libs/libugpio/libugpio-0.0.7.ebuild new file mode 100644 index 000000000000..9ce29b2cceda --- /dev/null +++ b/dev-libs/libugpio/libugpio-0.0.7.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2020 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 +} |