sysstat: remove systemd build option (#1736)
This commit is contained in:
parent
540515dae8
commit
ef85aedead
1 changed files with 3 additions and 11 deletions
|
@ -1,10 +1,11 @@
|
|||
# Template file for 'sysstat'
|
||||
pkgname=sysstat
|
||||
version=11.1.5
|
||||
revision=1
|
||||
revision=2
|
||||
build_pie=yes
|
||||
build_style=gnu-configure
|
||||
configure_args="--enable-install-isag --enable-copy-only --disable-file-attr"
|
||||
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"
|
||||
|
@ -16,14 +17,6 @@ homepage="http://pagesperso-orange.fr/sebastien.godard/"
|
|||
distfiles="http://pagesperso-orange.fr/sebastien.godard/${pkgname}-${version}.tar.gz"
|
||||
checksum=c6ac93ad11c051c477c998c7916d0cca42a0a789e6bbd0d68bf5b1bfc0066d40
|
||||
|
||||
build_options="systemd"
|
||||
|
||||
if [ "$build_option_systemd" ]; then
|
||||
configure_args+=" --with-systemdsystemunitdir=/usr/lib/systemd/system"
|
||||
else
|
||||
configure_args+=" --with-systemdsystemunitdir= --enable-install-cron"
|
||||
fi
|
||||
|
||||
post_extract() {
|
||||
echo '#include <limits.h>' >>common.h
|
||||
echo '#include <sys/sysmacros.h>' >>common.h
|
||||
|
@ -34,5 +27,4 @@ pre_configure() {
|
|||
export cron_owner=$(whoami)
|
||||
vmkdir etc/cron.daily
|
||||
vmkdir etc/cron.hourly
|
||||
vmkdir usr/lib/systemd/system
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue