2014-07-03 18:00:10 +00:00
|
|
|
# Template file for 'sysstat'
|
|
|
|
pkgname=sysstat
|
|
|
|
version=11.0.0
|
2014-07-08 12:58:24 +00:00
|
|
|
revision=3
|
2014-07-03 18:00:10 +00:00
|
|
|
build_style=gnu-configure
|
2014-07-08 12:58:24 +00:00
|
|
|
configure_args="--enable-yesterday --enable-install-isag"
|
|
|
|
if [ "$build_option_systemd" ]; then
|
|
|
|
configure_args+=" --with-systemdsystemunitdir=/usr/lib/systemd/system"
|
|
|
|
else
|
|
|
|
configure_args+=" --with-systemdsystemunitdir=none --enable-install-cron"
|
|
|
|
fi
|
2014-07-03 18:00:10 +00:00
|
|
|
make_dirs="/var/log/sa 0755 root root"
|
|
|
|
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=e67cbf35a8842c3cf3c39314b628611fb59c30de0da679ac68b195714be14253
|
|
|
|
|
|
|
|
pre_configure() {
|
|
|
|
sed -i 's/lib64/lib/' configure
|
|
|
|
export conf_dir=/etc/default
|
|
|
|
vmkdir etc/cron.daily
|
|
|
|
vmkdir etc/cron.hourly
|
2014-07-08 09:46:02 +00:00
|
|
|
vmkdir usr/lib/systemd/system
|
2014-07-03 18:00:10 +00:00
|
|
|
}
|