2006-04-10 14:43:50 +02:00
|
|
|
# Description: Utilities to control and monitor S.M.A.R.T. hard drives
|
|
|
|
# URL: http://smartmontools.sourceforge.net/
|
2009-11-23 17:52:33 +01:00
|
|
|
# Maintainer: Juergen Daubert, juergen dot daubert at t-online dot de
|
2008-07-11 09:29:19 +02:00
|
|
|
# Packager: Juergen Daubert, juergen dot daubert at t-online dot de
|
2006-04-10 14:43:50 +02:00
|
|
|
|
|
|
|
name=smartmontools
|
2010-10-20 14:29:10 +02:00
|
|
|
version=5.40
|
2006-04-10 14:43:50 +02:00
|
|
|
release=1
|
2010-10-20 14:29:10 +02:00
|
|
|
source=(http://downloads.sourceforge.net/project/$name/$name/$version/$name-$version.tar.gz \
|
2006-04-10 14:43:50 +02:00
|
|
|
smartd)
|
|
|
|
|
|
|
|
build () {
|
|
|
|
cd $name-$version
|
|
|
|
|
2010-03-04 10:55:43 +01:00
|
|
|
./configure --prefix=/usr \
|
|
|
|
--mandir=/usr/man \
|
|
|
|
--sysconfdir=/etc \
|
|
|
|
--localstatedir=/var \
|
|
|
|
--enable-drivedb \
|
|
|
|
--enable-savestates \
|
|
|
|
--enable-attributelog
|
|
|
|
|
2006-04-10 14:43:50 +02:00
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
|
|
|
|
2010-03-04 10:55:43 +01:00
|
|
|
install -m 755 $SRC/smartd $PKG/etc/rc.d
|
2006-04-10 14:43:50 +02:00
|
|
|
|
2010-03-04 10:55:43 +01:00
|
|
|
rm -r $PKG/usr/share/doc
|
2006-04-10 14:43:50 +02:00
|
|
|
rm -r $PKG/etc/rc.d/init.d
|
|
|
|
}
|