commit:     e523130089add7743f122f1c622715710e9fb9e9
Author:     Andrey Utkin <andrey_utkin <AT> gentoo <DOT> org>
AuthorDate: Tue Dec  8 11:52:59 2020 +0000
Commit:     Andrey Utkin <andrey_utkin <AT> gentoo <DOT> org>
CommitDate: Tue Dec  8 11:55:18 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e5231300

sys-block/whdd: add new version 3.0.1

Bug: https://bugs.gentoo.org/741948
Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Andrey Utkin <andrey_utkin <AT> gentoo.org>

 sys-block/whdd/Manifest          |  1 +
 sys-block/whdd/whdd-3.0.1.ebuild | 34 ++++++++++++++++++++++++++++++++++
 2 files changed, 35 insertions(+)

diff --git a/sys-block/whdd/Manifest b/sys-block/whdd/Manifest
index b42987e174f..14d190257d5 100644
--- a/sys-block/whdd/Manifest
+++ b/sys-block/whdd/Manifest
@@ -1,2 +1,3 @@
 DIST whdd-2.2.tar.gz 33317 BLAKE2B 
0f0f6a36c37ec8b0df538fe6c353fc14bfd1f2cecbe2b6c0c94727d4a417c1cba3e96ecd323d52a60a67b8f169ecde2e50196db090657f496cd7d46d37fb7079
 SHA512 
ab30c1e418cb7ba9881b1a91b99d0b1d5389172c4d5802be69d98cb9c16f1282ff7808e2b40bb937987a9d3ad9fa7f20e630d19307eb0aa1090cff531a904d4a
+DIST whdd-3.0.1.tar.gz 45671 BLAKE2B 
f16bcfc09356f43b5ae303e007cc3f0930316c67aa3c8622ffc7a3f6ee0f1c5339d7ff32e9b4707a42388fc955f70bf7d3ccc4bd36082d5592a5852d646832c7
 SHA512 
2cc207d5f0e5da1018ce4ec46f369cdd5c3ed2e55c063f583f8ca68f37949265d4ed8b6ea3ff9133a44cf254a95c3e819ba90f9d822aa3bc2f994cb16d0dc877
 DIST whdd-3.0.tar.gz 45865 BLAKE2B 
788ae197c5607f9044f68523336786eacf40eca382d531c590d3b45ec3710c5ea66740f8f5a9750a9746d78a0c6b7e9c77153345ef39cff962a6b2652f3f5d80
 SHA512 
f53888383dc0ed4158c13a064a2cd45e8e312b389bb79c1bfc9ce86c8a61a195fe5003821c868715316eeaba7ee5bcb387324fb6577af7f875679789cd5af5d7

diff --git a/sys-block/whdd/whdd-3.0.1.ebuild b/sys-block/whdd/whdd-3.0.1.ebuild
new file mode 100644
index 00000000000..e3e2b0a37fc
--- /dev/null
+++ b/sys-block/whdd/whdd-3.0.1.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DESCRIPTION="Diagnostic and recovery tool for block devices"
+HOMEPAGE="https://whdd.github.io";
+
+inherit toolchain-funcs
+
+if [[ ${PV} == 9999 ]]
+then
+       EGIT_REPO_URI="https://github.com/${PN}/${PN}";
+       inherit git-r3
+else
+       SRC_URI="https://github.com/${PN}/${PN}/tarball/${PV} -> ${P}.tar.gz"
+       KEYWORDS="~amd64 ~x86"
+       inherit vcs-snapshot
+fi
+
+LICENSE="GPL-3"
+SLOT="0"
+IUSE=""
+
+DEPEND="
+       dev-util/dialog:=
+       sys-libs/ncurses:0=[unicode]"
+RDEPEND="${DEPEND}
+       sys-apps/smartmontools"
+
+src_compile() {
+       tc-export CC
+       default
+}

Reply via email to