sys-apps/lssbus: EAPI=8, compile flags fixes, cleanup

- bump to EAPI=8
- pass correct CC, CFLAGS, LDFLAGS
- cleanup empty assignments

Tested on catbus devbox (since sparc only)

Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
This commit is contained in:
Arthur Zamarin 2024-04-20 21:45:49 +03:00
parent 4584214a24
commit c3af0d1865
No known key found for this signature in database
GPG Key ID: 02A0AF503D120504

View File

@ -1,7 +1,9 @@
# Copyright 1999-2017 Gentoo Foundation
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
EAPI=8
inherit toolchain-funcs
DESCRIPTION="Small utility for Linux/SPARC that list devices on SBUS"
HOMEPAGE="https://people.redhat.com/tcallawa/lssbus/"
@ -10,10 +12,10 @@ SRC_URI="https://people.redhat.com/tcallawa/lssbus/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="-* sparc"
IUSE=""
DEPEND=""
RDEPEND=""
src_compile() {
emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
}
src_install() {
dosbin lssbus