void-packages/srcpkgs/sysstat/template
Piraty 31904bd381 sysstat: needs gettext in hostmakedepends
also, ignore development versions
2020-02-24 20:05:32 +01:00

31 lines
975 B
Bash

# Template file for 'sysstat'
pkgname=sysstat
version=12.2.1
revision=1
build_style=gnu-configure
configure_args="--enable-copy-only --disable-file-attr
--with-systemdsystemunitdir= --enable-install-cron"
conf_files="/etc/default/sysstat /etc/default/sysstat.ioconf"
hostmakedepends="pkg-config gettext"
depends="lm_sensors"
short_desc="Collection of performance monitoring tools"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="GPL-2.0-or-later"
homepage="http://pagesperso-orange.fr/sebastien.godard/"
distfiles="http://pagesperso-orange.fr/sebastien.godard/${pkgname}-${version}.tar.xz"
checksum=8edb0e19b514ac560a098a02933a4735b881296d61014db89bf80f05dd7a4732
post_extract() {
vsed -i 's/lib64/lib/' configure
vsed -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
}