You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/sys-block/scsirastools/scsirastools-1.6.6.ebuild

44 lines
755 B

# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit autotools
DESCRIPTION="Serviceability for SCSI Disks and Arrays"
HOMEPAGE="http://scsirastools.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
RDEPEND=">=sys-apps/sg3_utils-1.44"
DEPEND="${RDEPEND}"
PATCHES=(
"${FILESDIR}"/${P}-prefix.patch
"${FILESDIR}"/${P}-autotools.patch
)
src_prepare() {
default
eautoreconf
# remove pre-compiled binaries
rm files/ialarms* || die
}
src_configure() {
econf --sbindir=/usr/sbin
}
src_install() {
default
dosbin files/sgevt files/mdevt
# install modepage files
insinto /usr/share/${PN}
doins files/*.mdf
}