APP=libaio
VERSION=0.3.112
BUILD=1sml
HOMEPAGE='https://pagure.io/libaio'
DOWNLOAD='https://releases.pagure.org/libaio/libaio-0.3.112.tar.gz'
DESC="Asynchronous I/O library"
REQUIRES="musl"

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

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

  make
  make prefix="$PKG" libdir=$PKG/lib install

  rm -f $PKG/lib/libaio.a

  cp COPYING $PKGDOCS/

  mkfinalpkg
}

SHA512SUMS="
024de41dabeeaa8e990710a188081ce0ea24e73140411fd6274be61bcaacab977c0a57a137ba46152468390a01c76df6d7576d6966d0c7626064b868f23d474c  libaio-0.3.112.tar.lz
"
