gentoo-ebuilds/sys-block/smp_utils/smp_utils-0.99-r1.ebuild
David Seifert a1a95bc603
sys-block/smp_utils: update EAPI 7 -> 8
Closes: https://bugs.gentoo.org/715840
Signed-off-by: David Seifert <soap@gentoo.org>
2025-05-04 23:02:15 +02:00

34 lines
711 B
Bash

# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
MY_PV="${PV/_beta/b}"
MY_PV="${MY_PV/_p/r}"
MY_P="${PN}-${MY_PV}"
DESCRIPTION="Utilities for SAS management protocol (SMP)"
HOMEPAGE="http://sg.danny.cz/sg/smp_utils.html"
SRC_URI="http://sg.danny.cz/sg/p/${MY_P}.tar.xz"
S="${WORKDIR}/${MY_P}"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE="static-libs"
PATCHES=( "${FILESDIR}"/${P}-stdint.patch )
DOCS=( AUTHORS ChangeLog COVERAGE CREDITS README )
src_configure() {
local myeconfargs=(
$(use_enable static-libs static)
)
econf "${myeconfargs[@]}"
}
src_install() {
default
find "${ED}" -type f -name "*.la" -delete || die
}