PKGNAME=smartmontools
PKGSEC=utils
PKGDEP="gcc-runtime bash libcap-ng"
PKGDES="Utility to control and monitor S.M.A.R.T. enabled ATA and SCSI Hard Drives"

# --enable-sample         Enables appending .sample to the installed smartd rc
#                         script and configuration file
#
# Note: Disabling --with-update-smart-drivedb, and --with-gnupg=no is required.
AUTOTOOLS_AFTER=(
    '--disable-sample'
    '--enable-scsi-cdb-check'
    '--enable-fast-lebe'
    '--with-gnupg=no'
    '--with-update-smart-drivedb=no'
    '--with-selinux=no'
    '--with-libcap-ng=yes'
    '--with-libsystemd=yes'
    '--with-systemdsystemunitdir=/usr/lib/systemd/system'
    '--with-nvme-devicescan=yes'
)

# Needed by Afterglow, whereas FAIL_ARCH defaults to mainline-only.
FAIL_ARCH="!(mainline|retro)"
