# Template file for 'sysstat' pkgname=sysstat version=12.7.2 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 " license="GPL-2.0-or-later" homepage="http://pagesperso-orange.fr/sebastien.godard/" distfiles="http://pagesperso-orange.fr/sebastien.godard/${pkgname}-${version}.tar.xz" checksum=ec4090c9c140d8301d5f8cd84e21456737d094d054141a30f557ccb05bbd3b9f 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 export cron_owner=$(whoami) vmkdir etc/cron.daily vmkdir etc/cron.hourly } post_install() { vbin contrib/isag/isag vman contrib/isag/isag.1 }