APP=libnfs
VERSION=4.0.0
BUILD=1sml
HOMEPAGE='https://github.com/sahlberg/libnfs'
DESC="client library for accessing NFS shares"
REQUIRES="musl"

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

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

  ./configure \
    --prefix="" \
    --disable-static

  make
  make install DESTDIR=$PKG 

  cp COPYING LICENCE* $PKGDOCS/

  mkfinalpkg
}

SHA512SUMS="
3b93b2d9ab64f899cc25be795a077da12f36188f3170789c5903b5fd986b6641a1dc325ce3678047dbdaf6b7209b5711c7c746000b4a90274413163bf65ea147  libnfs-4.0.0.tar.lz
"
