mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 17:09:10 -07:00
net-proxy/haproxy-dataplaneapi: add 2.8.1
Signed-off-by: Patrick Lauer <patrick@gentoo.org>
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
# Copyright 1999-2024 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/${P}-vendor.tar.xz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
|
||||
S="${WORKDIR}/dataplaneapi-${PV}"
|
||||
|
||||
src_compile() {
|
||||
ego build -o ./build/dataplaneapi ./cmd/dataplaneapi/
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin build/dataplaneapi
|
||||
dodoc README.md
|
||||
}
|
||||
Reference in New Issue
Block a user