summaryrefslogtreecommitdiff
path: root/net-misc/cve-client/cve-client-9999.ebuild
blob: afa7245f0a2b6f56dc0f65b3142fdb0314b4a457 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Copyright 2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit perl-module

if [[ "${PV}" == "9999" ]]
then
	inherit git-r3
	EGIT_REPO_URI="https://anongit.hacktivis.me/git/cve-client.git"
else
	SRC_URI="https://distfiles.hacktivis.me/releases/${PN}/${P}.tar.gz"
	KEYWORDS="~amd64"
fi

DESCRIPTION="CLI-based client / toolbox for CVE.org"
HOMEPAGE="https://hacktivis.me/git/cve-client/"
LICENSE="AGPL-3"
SLOT="0"

RDEPEND="
	dev-perl/JSON-MaybeXS
	dev-perl/LWP-Protocol-https
"
DEPEND="
	${RDEPEND}
	test? ( dev-perl/Test-Output )
"