# Maintainer: PktSurf <smlinux@pktsurf.in>
app=libaio
version=0.3.112
build=1sml
homepage="https://pagure.io/libaio"
download="https://releases.pagure.org/libaio/libaio-$version.tar.gz"
desc="Asynchronous I/O library"
requires="musl"

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

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

build() {
  make
  make prefix="$pkg" libdir=$pkg/lib install

  cp COPYING $pkgdocs/

  mkfinalpkg
}

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