APP=npth
VERSION=1.6
BUILD=1sml
HOMEPAGE='https://gnupg.org/software/npth/index.html'
DOWNLOAD='https://gnupg.org/ftp/gcrypt/npth/npth-1.6.tar.bz2'
DESC="library that provides non-premptive priority-based scheduling for multiple threads in event-driven applications"
REQUIRES="musl"

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

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

  ./configure \
    --prefix="" 

  make
  make install DESTDIR=$PKG 

  cp COPYING* $PKGDOCS/

  mkfinalpkg
}

SHA512SUMS="
2ed1012e14a9d10665420b9a23628be7e206fd9348111ec751349b93557ee69f1176bcf7e6b195b35b1c44a5e0e81ee33b713f03d79a33d1ecd9037035afeda2  npth-1.6.tar.bz2
"
