19 lines
538 B
Plaintext
19 lines
538 B
Plaintext
|
# Description: Utilities to control and monitor S.M.A.R.T. hard drives
|
|||
|
# URL: http://smartmontools.sourceforge.net/
|
|||
|
# Maintainer: J<>rgen Daubert, juergen dot daubert at t-online dot de
|
|||
|
|
|||
|
name=smartmontools
|
|||
|
version=5.32
|
|||
|
release=1
|
|||
|
source=(http://dl.sourceforge.net/sourceforge/$name/$name-$version.tar.gz \
|
|||
|
smartd)
|
|||
|
|
|||
|
build () {
|
|||
|
cd $name-$version
|
|||
|
./configure --prefix=/usr --sysconfdir=/etc
|
|||
|
make
|
|||
|
make DESTDIR=$PKG install
|
|||
|
install -m 755 ../smartd $PKG/etc/rc.d
|
|||
|
rm -R $PKG/{usr/share,etc/rc.d/init.d}
|
|||
|
}
|