30 lines
894 B
Bash
30 lines
894 B
Bash
# Template file for 'sysstat'
|
|
pkgname=sysstat
|
|
version=12.7.5
|
|
revision=1
|
|
build_style=gnu-configure
|
|
configure_args="--enable-copy-only --disable-file-attr
|
|
--with-systemdsystemunitdir= --enable-install-cron"
|
|
conf_files="/etc/default/sysstat /etc/default/sysstat.ioconf"
|
|
hostmakedepends="pkg-config gettext"
|
|
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=57664040a549d33bb06a1121c7124d4cadd9b8b35f815856c194393047cd4d6b
|
|
|
|
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
|
|
}
|