blob: dfbe5f1eb8729626895b61659e452259a50abc97 (
plain)
1 # Description: Utilities to control and monitor S.M.A.R.T. hard drives
2 # URL: http://smartmontools.sourceforge.net/
3 # Maintainer: Juergen Daubert, jue at crux dot nu
4
5 name=smartmontools
6 version=7.3
7 release=1
8 source=(http://downloads.sourceforge.net/project/$name/$name/$version/$name-$version.tar.gz \
9 smartd)
10
11 build() {
12 cd $name-$version
13
14 ./configure \
15 --prefix=/usr \
16 --sysconfdir=/etc \
17 --with-initscriptdir=/etc/rc.d \
18 --localstatedir=/var \
19 --with-savestates \
20 --with-attributelog
21
22 make
23 make DESTDIR=$PKG install
24
25 install -d $PKG/var/lib/smartmontools
26 install -m 755 $SRC/smartd $PKG/etc/rc.d
27
28 rm -r $PKG/usr/share/doc
29 }
|