1 # Copyright 1999-2024 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 DESCRIPTION="Diagnostic and recovery tool for block devices"
7 HOMEPAGE="https://whdd.github.io"
9 inherit toolchain-funcs
11 if [[ ${PV} == 9999 ]]
13 EGIT_REPO_URI="https://github.com/${PN}/${PN}"
16 SRC_URI="https://github.com/${PN}/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}-rel.tar.gz"
17 KEYWORDS="amd64 ~riscv ~x86"
23 DEPEND="dev-util/dialog:=
24 sys-libs/ncurses:=[unicode(+)]"
26 sys-apps/smartmontools"
34 emake DESTDIR="${ED}" install