diff options
Diffstat (limited to 'dev-db/influx-cli/influx-cli-2.7.3.ebuild')
-rw-r--r-- | dev-db/influx-cli/influx-cli-2.7.3.ebuild | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/dev-db/influx-cli/influx-cli-2.7.3.ebuild b/dev-db/influx-cli/influx-cli-2.7.3.ebuild new file mode 100644 index 000000000000..deefe0de73ef --- /dev/null +++ b/dev-db/influx-cli/influx-cli-2.7.3.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +inherit go-module +MY_PV="${PV/_rc/-rc.}" + +DESCRIPTION="The command line for influxdb" +HOMEPAGE="https://github.com/influxdata/influx-cli" + +SRC_URI="https://github.com/influxdata/influx-cli/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz" +SRC_URI+=" https://dev.gentoo.org/~williamh/dist/${P}-deps.tar.xz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RESTRICT+=" test" + + +src_compile() { + unset LDFLAGS + emake +} + +src_install() { + dobin bin/$(go env GOOS)/$(go env GOARCH)/influx +} |