app=sysfsutils
version=2.1.0
build=1sml
homepage="http://linux-diag.sourceforge.net/Sysfsutils.html"
download="https://sourceforge.net/projects/linux-diag/files/sysfsutils/$version/sysfsutils-$version.tar.gz"
desc="Utilities for the sysfs filesystem"
requires="musl"

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

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

  ./configure \
    --prefix="" \
    --mandir=/share/man \
    --disable-static \
    $builddist

  make
  make install DESTDIR=$pkg 

  cp COPYING $pkgdocs/

  mkfinalpkg
}

sha512sums="
0e9566d46ce04bfc854030107e70cfd99e1b596c0a35b20b134b4df318e0df5b5ac89635dace4e90a59158d2383d12aa298adac119d074febfc35d99eecd17f5  sysfsutils-2.1.0.tar.bz2
"
