# Description: Native asynchronous I/O (AIO) support library
# URL: http://lse.sourceforge.net/io/aio.html
# Maintainer: Juergen Daubert, jue at crux dot nu

name=libaio
version=0.3.113
release=1
source=(https://pagure.io/libaio/archive/$name-$version/$name-$name-$version.tar.gz)

build() {
	cd $name-$name-$version

	make
	make prefix=$PKG/usr install

	install -d $PKG/lib
	mv $PKG/usr/lib/libaio.so.* $PKG/lib
	ln -sf ../../lib/$(readlink $PKG/usr/lib/libaio.so) $PKG/usr/lib/libaio.so
} 
