app=libatasmart
version=0.19
build=1sml
homepage="http://0pointer.de/blog/projects/being-smart.html"
download="https://0pointer.de/public/libatasmart-$version.tar.xz"
desc="ATA S.M.A.R.T reading and parsing library"
requires="musl"

build() {
  mkandenterbuilddir
  rm -rf $app-$version

  tar xf $srcdir/$app-$version.tar.?z**
  cd $app-$version
  fixbuilddirpermissions

  ./configure \
    --prefix="" \
    --sbindir=/bin \
    --disable-static \
    $builddist

  make
  make install DESTDIR=$pkg 

  mkfinalpkg
}

sha512sums="
ec9edb019c477873b01289ba365ad0ed0946505d651c1f6f83a63ef61b3976a5db6439c8a0c74d9a55325db9a3a587ad6f655f8d1af9387b0d08356eccabdb62  libatasmart-0.19.tar.xz
"
