33 lines
1.1 KiB
Text
33 lines
1.1 KiB
Text
# Template file for 'smartmontools'
|
|
pkgname=smartmontools
|
|
version=6.0
|
|
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}"
|
|
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=9fe4ff2b7bcd00fde19db82bba168f5462ed6e857d3ef439495e304e3231d3a6
|
|
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."
|
|
|
|
makedepends="libcap-ng-devel"
|
|
|
|
smartmontools_package() {
|
|
conf_files="/etc/smartd.conf"
|
|
mutable_files="/var/db/smartmontools/drivedb.h"
|
|
systemd_services="smartd.service on"
|
|
pkg_install() {
|
|
vmove etc
|
|
vmove usr
|
|
vmove var
|
|
}
|
|
}
|