# Template file for 'sysstat' pkgname=sysstat version=11.1.6 revision=2 build_pie=yes build_style=gnu-configure configure_args="--enable-install-isag --enable-copy-only --disable-file-attr --with-systemdsystemunitdir= --enable-install-cron" make_dirs="/var/log/sa 0755 root root" conf_files="/etc/default/sysstat /etc/default/sysstat.ioconf" hostmakedepends="pkg-config" depends="lm_sensors" short_desc="A collection of performance monitoring tools" maintainer="Christian Neukirchen " license="GPL-2" homepage="http://pagesperso-orange.fr/sebastien.godard/" distfiles="http://pagesperso-orange.fr/sebastien.godard/${pkgname}-${version}.tar.gz" checksum=48ee6962d51aed6d652b204d69e3bcf3a8817933f4163ab17d89adf8a78421a4 post_extract() { echo '#include ' >>common.h echo '#include ' >>common.h sed -i 's///' tapestat.c sed -i '1i#include ' tapestat.c sed -i '1i#include ' tapestat.c sed -i 's/lib64/lib/' configure sed -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 }