salinfo-1.2.ebuild

Download (611 Bytes)

# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit toolchain-funcs

DESCRIPTION="decode Itanium SAL records (e.g. various hardware errors)"
HOMEPAGE="https://www.kernel.org/pub/linux/kernel/people/helgaas/"
SRC_URI="mirror://gentoo/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
# ia64 only: dumps state of ia64 machine, uses ia64_fpreg structs, bug #725766
KEYWORDS="-* ~ia64"
IUSE=""

PATCHES=( "${FILESDIR}"/${P}-build.patch )

src_configure() {
	tc-export CC
}

src_install() {
	default
	rm -rf "${ED}"/etc/{rc.d,sysconfig} "${ED}"/var || die
}

Thank you!