gentoo/dev-perl/WattsUp-Daemon/WattsUp-Daemon-0.4-r3.ebuild
Andreas K. Hüttel bcc5675ae3
dev-perl/WattsUp-Daemon: EAPI bump, dep cleanup
Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
2025-06-27 20:41:55 +02:00

30 lines
663 B
Bash

# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit perl-module
DESCRIPTION="Watt's Up Monitoring Daemon"
HOMEPAGE="https://dev.gentoo.org/~robbat2/wattsup-daemon/"
SRC_URI="https://dev.gentoo.org/~robbat2/wattsup-daemon/${P}.tar.gz"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
BDEPEND="
dev-perl/Device-SerialPort
dev-perl/Time-TAI64
"
RDEPEND="${BDEPEND}"
PATCHES=( "${FILESDIR}/${P}-openrc.patch" )
mydoc="AUTHORS doc/wattsup_spec_v442.txt"
src_install() {
perl-module_src_install
newinitd gentoo/wattsup-daemon.initd wattsup-daemon
newconfd gentoo/wattsup-daemon.confd wattsup-daemon
}