diff options
Diffstat (limited to 'net-analyzer/netdata/netdata-9999.ebuild')
-rw-r--r-- | net-analyzer/netdata/netdata-9999.ebuild | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/net-analyzer/netdata/netdata-9999.ebuild b/net-analyzer/netdata/netdata-9999.ebuild index 256ee9f3417a..64c8c68c5aa7 100644 --- a/net-analyzer/netdata/netdata-9999.ebuild +++ b/net-analyzer/netdata/netdata-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -10,7 +10,8 @@ if [[ ${PV} == *9999 ]] ; then EGIT_REPO_URI="https://github.com/netdata/${PN}.git" inherit git-r3 else - SRC_URI="https://github.com/netdata/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + SRC_URI="https://github.com/netdata/${PN}/releases/download/v${PV}/${PN}-v${PV}.tar.gz -> ${P}.tar.gz" + S="${WORKDIR}/${PN}-v${PV}" KEYWORDS="~amd64 ~x86" fi @@ -19,7 +20,7 @@ HOMEPAGE="https://github.com/netdata/netdata https://my-netdata.io/" LICENSE="GPL-3+ MIT BSD" SLOT="0" -IUSE="caps +compression cpu_flags_x86_sse2 cups +dbengine ipmi +jsonc kinesis +lto mongodb mysql nfacct nodejs postgres prometheus +python tor xen" +IUSE="caps cloud +compression cpu_flags_x86_sse2 cups +dbengine ipmi +jsonc kinesis +lto mongodb mysql nfacct nodejs postgres prometheus +python tor xen" REQUIRED_USE=" mysql? ( python ) python? ( ${PYTHON_REQUIRED_USE} ) @@ -91,11 +92,11 @@ src_prepare() { } src_configure() { - # --disable-cloud: https://github.com/netdata/netdata/issues/8961 econf \ --localstatedir="${EPREFIX}"/var \ --with-user=netdata \ - --disable-cloud \ + $(use_enable cloud) \ + $(use_with cloud aclk-ng) \ $(use_enable jsonc) \ $(use_enable cups plugin-cups) \ $(use_enable dbengine) \ @@ -110,6 +111,11 @@ src_configure() { $(use_with compression zlib) } +src_compile() { + emake clean + default +} + src_install() { default |