33 lines
995 B
Bash
33 lines
995 B
Bash
# Template file for 'sysstat'
|
|
pkgname=sysstat
|
|
version=11.5.7
|
|
revision=1
|
|
build_style=gnu-configure
|
|
configure_args="--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="Leah Neukirchen <leah@vuxu.org>"
|
|
license="GPL-2"
|
|
homepage="http://pagesperso-orange.fr/sebastien.godard/"
|
|
distfiles="http://pagesperso-orange.fr/sebastien.godard/${pkgname}-${version}.tar.gz"
|
|
checksum=a605ffee06f6c1577e69f0cb1c644d75f0f2aede95a02603f567bb16ab73caa4
|
|
|
|
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
|
|
}
|
|
post_install() {
|
|
vbin contrib/isag/isag
|
|
vman contrib/isag/isag.1
|
|
}
|