mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-17 11:04:10 -04:00
30 lines
578 B
Bash
30 lines
578 B
Bash
# Copyright 2026 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
inherit go-module
|
|
|
|
DESCRIPTION="API & CLI for System & Process Monitoring "
|
|
HOMEPAGE="https://github.com/AvengeMedia/dgop"
|
|
SRC_URI="https://github.com/AvengeMedia/${PN}/releases/download/v${PV}/${P}.tar.gz"
|
|
|
|
LICENSE="MIT"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64"
|
|
|
|
BDEPEND=">=dev-lang/go-1.22"
|
|
|
|
RESTRICT="strip"
|
|
|
|
src_configure() {
|
|
sed -i '/^GOFLAGS=/d' "${S}/Makefile"
|
|
sed -i "s/^VERSION=.*$/VERSION=\"${PV}\"/" "${S}/Makefile"
|
|
|
|
default
|
|
}
|
|
|
|
src_install() {
|
|
dobin "${S}/bin/${PN}"
|
|
}
|