sys-block/whdd: add 3.0 ebuild
authorAndrey Utkin <andrey_utkin@fastmail.com>
Sun, 8 Jan 2017 01:37:59 +0000 (01:37 +0000)
committerMichael Palimaka <kensington@gentoo.org>
Sun, 29 Jan 2017 15:22:04 +0000 (02:22 +1100)
3.0 ebuild is exact copy of -9999 live ebuild which handles case of
tagged releases.

sys-block/whdd/Manifest
sys-block/whdd/whdd-3.0.ebuild [new file with mode: 0644]

index 09ecaa8090214ac2832191e26779fcb22e2874dd..927a701a65e353de841a62b02b681deabd681b24 100644 (file)
@@ -1 +1,2 @@
 DIST whdd-2.2.tar.gz 33317 SHA256 49d615e46117f1271aac22a063703e87fab749e5357a0c5bb4a369e39d7c9241 SHA512 ab30c1e418cb7ba9881b1a91b99d0b1d5389172c4d5802be69d98cb9c16f1282ff7808e2b40bb937987a9d3ad9fa7f20e630d19307eb0aa1090cff531a904d4a WHIRLPOOL c7d9eee7a21e6390a0c1a5befe5bcb17bf326c0b17ae89164452d5e70a94567cb987ecaf17c90ca0631e3ef1f0d958f8d46881f65169179202c84bedb826719b
+DIST whdd-3.0.tar.gz 45865 SHA256 2e030e7fccb54b6911d90fe44980938b5018e4103b54d4d73b334cb646134f41 SHA512 f53888383dc0ed4158c13a064a2cd45e8e312b389bb79c1bfc9ce86c8a61a195fe5003821c868715316eeaba7ee5bcb387324fb6577af7f875679789cd5af5d7 WHIRLPOOL 6bdc74a77d6b05d9845688e57c34304b42a3593b15d1e61f21aace17434ffe230dd5823e4509c9a2339e687b006fb23b33a03209af983b2307c03934504f7f24
diff --git a/sys-block/whdd/whdd-3.0.ebuild b/sys-block/whdd/whdd-3.0.ebuild
new file mode 100644 (file)
index 0000000..6c4ff07
--- /dev/null
@@ -0,0 +1,28 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+DESCRIPTION="Diagnostic and recovery tool for block devices"
+HOMEPAGE="https://whdd.github.io"
+
+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"