2012-12-10 23:48:33 +01:00
|
|
|
# Template file for 'smartmontools'
|
|
|
|
pkgname=smartmontools
|
2013-08-11 20:27:08 +02:00
|
|
|
version=6.2
|
2012-12-10 23:48:33 +01:00
|
|
|
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}"
|
2013-08-11 20:27:08 +02:00
|
|
|
makedepends="libcap-ng-devel"
|
2012-12-10 23:48:33 +01:00
|
|
|
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"
|
2013-08-11 20:27:08 +02:00
|
|
|
checksum=486f660579bb0fb4f6b927ded7531cb1f99685c666397377761c5b04dd96065b
|
2012-12-10 23:48:33 +01:00
|
|
|
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."
|
|
|
|
|
2013-04-14 12:31:59 +02:00
|
|
|
smartmontools_package() {
|
|
|
|
conf_files="/etc/smartd.conf"
|
|
|
|
mutable_files="/var/db/smartmontools/drivedb.h"
|
|
|
|
systemd_services="smartd.service on"
|
|
|
|
pkg_install() {
|
2013-08-11 20:27:08 +02:00
|
|
|
vmove all
|
2013-04-14 12:31:59 +02:00
|
|
|
}
|
|
|
|
}
|