Add preliminary ebuild for beszel-agent-0.18.3
Signed-off-by: Manuel Friedli <manuel@fritteli.ch>
This commit is contained in:
parent
def87e6341
commit
e3f2bf13c7
37 changed files with 121 additions and 26 deletions
33
app-metrics/beszel-agent/beszel-agent-0.18.3.ebuild
Normal file
33
app-metrics/beszel-agent/beszel-agent-0.18.3.ebuild
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
# Copyright 2022-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit go-module systemd toolchain-funcs
|
||||
|
||||
MY_P="beszel-${PV}"
|
||||
DESCRIPTION="Beszel Agent - Simple, lightweight server monitoring"
|
||||
HOMEPAGE="https://www.beszel.dev/"
|
||||
SRC_URI="https://github.com/henrygd/beszel/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
|
||||
https://gentoo-overlay.friedli.info/${MY_P}-vendor.tar.xz"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
LICENSE="AGPL-3+"
|
||||
# Go dependency licenses
|
||||
LICENSE+=" AGPL-3 Apache-2.0 BSD GPL-3+ ISC MIT MPL-2.0 public-domain"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
DEPEND="acct-user/beszel-agent
|
||||
acct-group/beszel"
|
||||
|
||||
src_compile() {
|
||||
# emake build-agent
|
||||
cd internal/cmd/agent
|
||||
ego build -ldflags "-w -s"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
newbin "${S}"/internal/cmd/agent/agent beszel-agent
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue