gentoo-gc-overlay/app-metrics/aliencat-exporter/aliencat-exporter-0.1.3.ebuild

26 lines
539 B
Bash

# Copyright 2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake
DESCRIPTION="Prometheus exporter for various metrics"
HOMEPAGE="https://git.aliencat.pro/selim/aliencat-exporter"
SRC_URI="https://git.aliencat.pro/selim/aliencat-exporter/archive/v${PV}.tar.gz"
S="${WORKDIR}/${PN}"
LICENSE=""
SLOT="0"
KEYWORDS="~amd64"
DEPEND="dev-cpp/prometheus-cpp"
RDEPEND="${DEPEND}"
BDEPEND="dev-util/cmake"
src_install() {
cmake_src_install
newinitd "${FILESDIR}/${PN}.initd" "${PN}"
}