blob: 2cdf84d61ab48835f57a6effe04fd32dae9c23a3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit autotools flag-o-matic
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() {
# -Werror=lto-type-mismatch
# https://bugs.gentoo.org/863719
# Upstream sourceforge; dead for 6 years; no bug filed.
filter-lto
econf --sbindir=/usr/sbin
}
src_install() {
default
dosbin files/sgevt files/mdevt
# install modepage files
insinto /usr/share/${PN}
doins files/*.mdf
}
|