void-packages/srcpkgs/sysstat/template
2025-07-31 20:38:44 +02:00

30 lines
942 B
Bash

# Template file for 'sysstat'
pkgname=sysstat
version=12.7.8
revision=1
build_style=gnu-configure
configure_args="--enable-copy-only --disable-file-attr
--with-systemdsystemunitdir= --enable-install-cron --enable-sensors"
conf_files="/etc/default/sysstat /etc/default/sysstat.ioconf"
hostmakedepends="pkg-config gettext"
makedepends="libsensors-devel"
depends="lm_sensors"
short_desc="Collection of performance monitoring tools"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="GPL-2.0-or-later"
homepage="https://sysstat.github.io/"
distfiles="https://sysstat.github.io/sysstat-packages/sysstat-${version}.tar.xz"
checksum=fce51c768a9babfc871e1896409a17be7017460730a796b36b502dbaac0ed2b9
post_extract() {
vsed -i 's/lib64/lib/' configure
vsed -i '/LFLAGS =/d; s/LFLAGS/LDFLAGS/g' Makefile.in
}
pre_configure() {
export conf_dir=/etc/default
vmkdir etc/cron.d
}
post_install() {
vbin contrib/isag/isag
vman contrib/isag/isag.1
}