gentoo/dev-libs/libugpio/libugpio-0.0.7-r1.ebuild
Conrad Kostecki 5b0ddad398
dev-libs/libugpio: update EAPI 7 -> 8
Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
2022-02-09 23:55:22 +01:00

31 lines
605 B
Bash

# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
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
}