summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-proxy/haproxy-dataplaneapi/haproxy-dataplaneapi-2.5.1.ebuild')
-rw-r--r--net-proxy/haproxy-dataplaneapi/haproxy-dataplaneapi-2.5.1.ebuild27
1 files changed, 27 insertions, 0 deletions
diff --git a/net-proxy/haproxy-dataplaneapi/haproxy-dataplaneapi-2.5.1.ebuild b/net-proxy/haproxy-dataplaneapi/haproxy-dataplaneapi-2.5.1.ebuild
new file mode 100644
index 000000000000..cc101b866c2f
--- /dev/null
+++ b/net-proxy/haproxy-dataplaneapi/haproxy-dataplaneapi-2.5.1.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+inherit go-module
+
+DESCRIPTION="haproxy dataplane api / sidecar"
+HOMEPAGE="https://github.com/haproxytech/dataplaneapi https://www.haproxy.com/documentation/dataplaneapi/latest/"
+
+SRC_URI="https://github.com/haproxytech/dataplaneapi/archive/v${PV}.tar.gz -> ${P}.tar.gz
+ http://gentooexperimental.org/~patrick/haproxy-dataplaneapi-2.5.1-deps.tar.xz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+S="${WORKDIR}/dataplaneapi-${PV}"
+
+src_compile() {
+ GOBIN="${S}/bin" emake build
+}
+
+src_install() {
+ dobin build/dataplaneapi
+ dodoc README.md
+}