void-packages/srcpkgs/libaio/template

26 lines
677 B
Text
Raw Normal View History

2014-03-10 13:19:18 +00:00
# Template file for 'libaio'
pkgname=libaio
version=0.3.109
revision=1
build_style=gnu-makefile
short_desc="The Linux-native asynchronous I/O facility (aio) library"
maintainer="Juan RP <xtraeme@gmail.com>"
license="LGPL-2.1"
homepage="http://lse.sourceforge.net/io/aio.html"
distfiles="${DEBIAN_SITE}/main/liba/$pkgname/${pkgname}_${version}.orig.tar.gz"
checksum=bf4a457253cbaab215aea75cb6e18dc8d95bbd507e9920661ff9bdd288c8778d
do_install() {
make prefix=${DESTDIR}/usr install
}
libaio-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/*.a
vmove usr/lib/*.so
}
}