summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-01-11 22:05:30 +0000
committerSam James <sam@gentoo.org>2022-01-11 22:05:53 +0000
commit2205fc63736f751148ac42654f444febcd4a3866 (patch)
tree9cfb0a3c38946c56ad8ee0c6c2a7e8021b48e814 /net-analyzer/mtr/mtr-9999.ebuild
parentdev-python/botocore: Stabilize 1.23.23 ALLARCHES, #831034 (diff)
downloadgentoo-2205fc63736f751148ac42654f444febcd4a3866.tar.gz
gentoo-2205fc63736f751148ac42654f444febcd4a3866.tar.bz2
gentoo-2205fc63736f751148ac42654f444febcd4a3866.zip
net-analyzer/mtr: add 0.95
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-analyzer/mtr/mtr-9999.ebuild')
-rw-r--r--net-analyzer/mtr/mtr-9999.ebuild13
1 files changed, 10 insertions, 3 deletions
diff --git a/net-analyzer/mtr/mtr-9999.ebuild b/net-analyzer/mtr/mtr-9999.ebuild
index f6a3911e9d43..42b6aeb30b04 100644
--- a/net-analyzer/mtr/mtr-9999.ebuild
+++ b/net-analyzer/mtr/mtr-9999.ebuild
@@ -1,13 +1,20 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-inherit autotools bash-completion-r1 fcaps git-r3
+inherit autotools bash-completion-r1 fcaps
DESCRIPTION="My TraceRoute, an Excellent network diagnostic tool"
HOMEPAGE="https://www.bitwizard.nl/mtr/"
-EGIT_REPO_URI="https://github.com/traviscross/mtr"
+
+if [[ ${PV} == *9999* ]] ; then
+ EGIT_REPO_URI="https://github.com/traviscross/mtr"
+ inherit git-r3
+else
+ SRC_URI="https://github.com/traviscross/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
+fi
LICENSE="GPL-2"
SLOT="0"