void-packages/srcpkgs/smartmontools/template

31 lines
1.1 KiB
Plaintext

# Template file for 'smartmontools'
pkgname=smartmontools
version=6.2
revision=1
build_style=gnu-configure
configure_args="--enable-drivedb --with-libcap-ng=yes
--with-systemdsystemunitdir=/usr/lib/systemd/system
--with-drivedbdir=/var/db/${pkgname}"
makedepends="libcap-ng-devel"
short_desc="S.M.A.R.T Monitoring Tools"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-2"
homepage="http://smartmontools.sourceforge.net"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=486f660579bb0fb4f6b927ded7531cb1f99685c666397377761c5b04dd96065b
long_desc="
The smartmontools package contains two utility programs (smartctl and smartd)
to control and monitor storage systems using the Self-Monitoring, Analysis
and Reporting Technology System (SMART) built into most modern ATA and SCSI
harddisks. In many cases, these utilities will provide advanced warning of
disk degradation and failure."
smartmontools_package() {
conf_files="/etc/smartd.conf"
mutable_files="/var/db/smartmontools/drivedb.h"
systemd_services="smartd.service on"
pkg_install() {
vmove all
}
}