# Contributor: Leonardo Arena <rnalrd@alpinelinux.org>
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname="libaio"
pkgver=0.3.110
pkgrel=1
pkgdesc="Asynchronous input/output library"
url="http://lse.sourceforge.net/io/aio.html"
arch="all"
license="LGPL-2.0"
options="!check"  # No test suite.
depends=
makedepends="linux-headers"
install=
subpackages="$pkgname-dev"
source="http://ftp.debian.org/debian/pool/main/liba/$pkgname/${pkgname}_${pkgver}.orig.tar.gz"

build() {
	cd $builddir
}

package() {
	cd $builddir
	make prefix="$pkgdir/usr" \
	 sysconfdir="$pkgdir/etc" \
	 mandir="$pkgdir/usr/share/man" \
	 infodir="$pkgdir/usr/share/info" \
	 install
}

md5sums="2a35602e43778383e2f4907a4ca39ab8  libaio_0.3.110.orig.tar.gz"
sha256sums="e019028e631725729376250e32b473012f7cb68e1f7275bfc1bbcdd0f8745f7e  libaio_0.3.110.orig.tar.gz"
sha512sums="664295d330d6e9adc005e2331e77582619625b479ffc2b81728ba6a682487380ee936079c4a69d35144b458bbe35c612f4ed9b32e913bd7e109b824345763eb3  libaio_0.3.110.orig.tar.gz"
