projects
/
gentoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4586f17
)
sys-block/whdd: 9999: incorporate handling of tagged versions
author
Andrey Utkin
<andrey_utkin@fastmail.com>
Sun, 8 Jan 2017 01:35:12 +0000
(
01:35
+0000)
committer
Michael Palimaka
<kensington@gentoo.org>
Sun, 29 Jan 2017 15:22:03 +0000
(
02:22
+1100)
sys-block/whdd/whdd-9999.ebuild
patch
|
blob
|
history
diff --git
a/sys-block/whdd/whdd-9999.ebuild
b/sys-block/whdd/whdd-9999.ebuild
index 381536f90efaebce3bd68b9da5dda859aa833248..ccea158e179b22d6a2e37df43e93df05ccc94882 100644
(file)
--- 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="