31 lines
942 B
Bash
31 lines
942 B
Bash
# Template file for 'sysstat'
|
|
pkgname=sysstat
|
|
version=12.7.6
|
|
revision=2
|
|
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=474b2bbc89e47b22dc8e4832cc2c555e7fb52f1271b7913434290986a62b71f7
|
|
|
|
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
|
|
}
|