2014-07-03 18:00:10 +00:00
|
|
|
# Template file for 'sysstat'
|
|
|
|
pkgname=sysstat
|
2014-10-22 15:06:38 +00:00
|
|
|
version=11.1.2
|
2014-09-17 12:47:34 +00:00
|
|
|
revision=1
|
2014-07-03 18:00:10 +00:00
|
|
|
build_style=gnu-configure
|
2014-10-22 15:06:38 +00:00
|
|
|
configure_args="--enable-yesterday --enable-install-isag --disable-man-group"
|
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/"
|
2014-10-31 14:27:14 +00:00
|
|
|
update_site="http://sebastien.godard.pagesperso-orange.fr/download.html"
|
2014-07-03 18:00:10 +00:00
|
|
|
distfiles="http://pagesperso-orange.fr/sebastien.godard/${pkgname}-${version}.tar.gz"
|
2014-10-22 15:06:38 +00:00
|
|
|
checksum=00c6e91a7a2796a46cde095a9ac943bd35d7247fab23105b73a8a3f4f39fa937
|
2014-07-03 18:00:10 +00:00
|
|
|
|
2014-07-08 13:11:07 +00:00
|
|
|
build_options="systemd"
|
|
|
|
|
|
|
|
if [ "$build_option_systemd" ]; then
|
2014-10-22 15:06:38 +00:00
|
|
|
configure_args+=" --with-systemdsystemunitdir=/usr/lib/systemd/system"
|
2014-07-08 13:11:07 +00:00
|
|
|
else
|
2014-10-22 15:06:38 +00:00
|
|
|
configure_args+=" --with-systemdsystemunitdir=none --enable-install-cron"
|
2014-07-08 13:11:07 +00:00
|
|
|
fi
|
|
|
|
|
2014-07-03 18:00:10 +00:00
|
|
|
pre_configure() {
|
2014-10-22 15:06:38 +00:00
|
|
|
sed -i 's/lib64/lib/' configure
|
|
|
|
export conf_dir=/etc/default
|
|
|
|
export cron_owner=$(whoami)
|
|
|
|
vmkdir etc/cron.daily
|
|
|
|
vmkdir etc/cron.hourly
|
|
|
|
vmkdir usr/lib/systemd/system
|
2014-07-03 18:00:10 +00:00
|
|
|
}
|