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/2.1.0/sysfsutils-2.1.0.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
"
