summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Utkin <andrey_utkin@fastmail.com>2017-01-08 01:35:12 +0000
committerMichael Palimaka <kensington@gentoo.org>2017-01-30 02:22:03 +1100
commit99a04cfc29642b06e9002876cf1d5e3b0d31b83b (patch)
tree2e7868bd118cd199aeb278771aea333067f369e4 /sys-block/whdd
parentsys-block/whdd: 9999: correct LICENSE to GPL-3 (diff)
downloadgentoo-99a04cfc29642b06e9002876cf1d5e3b0d31b83b.tar.gz
gentoo-99a04cfc29642b06e9002876cf1d5e3b0d31b83b.tar.bz2
gentoo-99a04cfc29642b06e9002876cf1d5e3b0d31b83b.zip
sys-block/whdd: 9999: incorporate handling of tagged versions
Diffstat (limited to 'sys-block/whdd')
-rw-r--r--sys-block/whdd/whdd-9999.ebuild14
1 files changed, 10 insertions, 4 deletions
diff --git a/sys-block/whdd/whdd-9999.ebuild b/sys-block/whdd/whdd-9999.ebuild
index 381536f90efa..ccea158e179b 100644
--- a/sys-block/whdd/whdd-9999.ebuild
+++ b/sys-block/whdd/whdd-9999.ebuild
@@ -4,15 +4,21 @@
EAPI=6
-EGIT_REPO_URI="https://github.com/${PN}/${PN}"
-inherit git-r3
-
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"
-KEYWORDS=""
IUSE=""
DEPEND="