APP=hdparm
VERSION=9.58
BUILD=1sml
HOMEPAGE='https://sourceforge.net/projects/hdparm'
DOWNLOAD='https://sourceforge.net/projects/hdparm/files/hdparm/hdparm-9.58.tar.gz'
DESC="hard disk information utility"
REQUIRES="musl"

build() {
  mkandenterbuilddir
  rm -rf $APP-$VERSION

  tar xf $SRCDIR/$APP-$VERSION.tar.?z*
  cd $APP-$VERSION
  fixbuilddirpermissions

  make V=s
  make install DESTDIR=$PKG mandir="/share/man" sbindir="/bin"

  cp LICENSE.TXT $PKGDOCS/

  mkfinalpkg
}

SHA512SUMS="
2c87e03c7ccb85b57851ea2f9d69688a62c264ae76bf10e08b6bb13813cdd33b76226ad21961e44e21fedd7aff9900ecfe4992426589ff4ce8bd67a7cd141f25  hdparm-9.58.tar.lz
"
