summaryrefslogtreecommitdiff
path: root/extra/lm_sensors/PKGBUILD
blob: 9c1d10c58856e1d4cab933de3a9af5c3c39f6a89 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# rrdtools needed by sensord needs cairo/pango (not available on i486)
makedepends=(${makedepends[@]//rrdtool/})
_oifs="${IFS}"
IFS=$(printf '\n')
optdepends=(${optdepends[@]/rrdtool:*/})
IFS="${_oifs}"

makedepends_i686=('rrdtools')
makedepends_pentium4=("${makedepends_i686[@]}")

optdepends_i686=('rrdtool: for logging with sensord')
optdepends_pentium4=("${optdepends_i686[@]}")

if [ "${CARCH}" = 'i486' ]; then
  eval "$(
    declare -f package | \
      sed '
        s/\(make.*sensord.*\)/#\1/
      '
  )"
fi