summaryrefslogtreecommitdiff
path: root/smartmontools/Pkgfile
blob: eb6f170643fd91483d4ba0f074d5cdb8650c74e3 (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 # Packager: Juergen Daubert, jue at crux dot nu
    5 
    6 name=smartmontools
    7 version=7.0
    8 release=1
    9 source=(http://downloads.sourceforge.net/project/$name/$name/$version/$name-$version.tar.gz \
   10         smartd)
   11 
   12 build () {
   13     cd $name-$version
   14 
   15     ./configure --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 }

Generated by cgit