void-packages/srcpkgs/sysstat/template
2016-06-26 17:32:08 +02:00

28 lines
962 B
Bash

# Template file for 'sysstat'
pkgname=sysstat
version=11.3.5
revision=1
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 <chneukirchen@gmail.com>"
license="GPL-2"
homepage="http://pagesperso-orange.fr/sebastien.godard/"
distfiles="http://pagesperso-orange.fr/sebastien.godard/${pkgname}-${version}.tar.gz"
checksum=0d2acfe6bc61fd5be7052f835cbfa33bf49e7b0ec13839c6e1bb3a5bc61e9b65
post_extract() {
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
}