1 # Copyright 1999-2018 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
5 inherit toolchain-funcs
7 DESCRIPTION="Query tool to access the running configuration and status of LSI SCSI HBAs"
8 HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage"
9 SRC_URI="mirror://gentoo/${P}.tar.bz2
10 mirror://gentoo/${PN}-1.2.0-linux-sources.tar.bz2"
14 KEYWORDS="amd64 ~ppc x86"
19 eapply "${FILESDIR}/${PN}-1.2.0-gentoo.patch"
21 sed -i -e 's,\(^.*linux/compiler\.h.*$\),,' mpt-status.h || die
22 sed -i -e '/KERNEL_PATH/d' Makefile || die
26 emake CC="$(tc-getCC)"
31 dodoc doc/{AUTHORS,Changelog,DeveloperNotes,FAQ,README,ReleaseNotes,THANKS,TODO}