diff options
Diffstat (limited to 'packages/sys-apps/sysstat/sysstat.exlib')
-rw-r--r-- | packages/sys-apps/sysstat/sysstat.exlib | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/packages/sys-apps/sysstat/sysstat.exlib b/packages/sys-apps/sysstat/sysstat.exlib index 01a13b068..c832c9bbe 100644 --- a/packages/sys-apps/sysstat/sysstat.exlib +++ b/packages/sys-apps/sysstat/sysstat.exlib @@ -1,7 +1,7 @@ # Copyright 2010-2017 Wulf C. Krueger <philantrop@exherbo.org> # Distributed under the terms of the GNU General Public License v2 -require systemd-service autotools [ supported_autoconf=[ 2.5 ] supported_automake=[ 1.15 ] ] +require systemd-service autotools [ supported_autoconf=[ 2.5 ] supported_automake=[ 1.16 ] ] export_exlib_phases src_prepare src_configure src_install @@ -32,13 +32,19 @@ UPSTREAM_DOCUMENTATION="${HOMEPAGE}/documentation.html [[ lang = en ]]" LICENCES="GPL-2" SLOT="0" MYOPTIONS=" - sensors [[ description = [ Enable sensors support. ] ]] + pcp [[ description = [ Support exporting to the PCP archive file format ] ]] + sensors [[ description = [ Enable sensors support ] ]] " +# TODO: add once tests are actually running: +# build+test: +# dev-libs/libxml2:2.0 [[ note = [ xmllint ] ]] +# dev-libs/yajl [[ note = [ json_verify ] ]] DEPENDENCIES=" build: sys-devel/gettext build+run: + pcp? ( monitor/pcp ) sensors? ( sys-apps/lm_sensors ) suggestion: virtual/cron @@ -48,14 +54,20 @@ DEFAULT_SRC_PREPARE_PATCHES=( "${FILES}"/${PN}-11.1.4-multiarch.patch ) DEFAULT_SRC_CONFIGURE_PARAMS=( --enable-collect-all + --enable-compress-manpg --enable-copy-only --enable-install-cron --enable-nls --disable-stripping + --disable-use-crond + --with-systemdsleepdir=/usr/$(exhost --target)/lib/systemd/system-sleep --with-systemdsystemunitdir="${SYSTEMDSYSTEMUNITDIR}" ) -DEFAULT_SRC_CONFIGURE_OPTION_ENABLES=( sensors ) +DEFAULT_SRC_CONFIGURE_OPTION_ENABLES=( + pcp + sensors +) sysstat_src_prepare() { # TODO: report upstream, respect datarootdir |