summaryrefslogtreecommitdiff
blob: 75104e0054d4c95d3e440c722345b850a79accb6 (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
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DESCRIPTION="Script to do \"scrubbing\" on software RAID systems"
HOMEPAGE="https://github.com/fukawi2/raid-check"
SRC_URI="mirror://gentoo/${P}.tar.xz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64"

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

src_compile() { :; }

src_test() {
	emake test
}

src_install() {
	emake DESTDIR="${D}" D_BIN=/usr/sbin install
}