void-packages/srcpkgs/libaio/template

29 lines
729 B
Bash
Raw Normal View History

2014-03-10 14:19:18 +01:00
# Template file for 'libaio'
pkgname=libaio
2014-12-12 10:22:25 +01:00
version=0.3.110
2015-05-13 18:30:17 +02:00
revision=3
2014-03-10 14:19:18 +01:00
short_desc="The Linux-native asynchronous I/O facility (aio) library"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
2014-03-10 14:19:18 +01:00
license="LGPL-2.1"
homepage="http://lse.sourceforge.net/io/aio.html"
distfiles="${DEBIAN_SITE}/main/liba/$pkgname/${pkgname}_${version}.orig.tar.gz"
2014-12-12 10:22:25 +01:00
checksum=e019028e631725729376250e32b473012f7cb68e1f7275bfc1bbcdd0f8745f7e
2014-03-10 14:19:18 +01:00
2015-05-13 18:30:17 +02:00
do_build() {
CFLAGS="${CFLAGS/-fstack-protector-strong/}"
2015-05-13 18:30:17 +02:00
make CC=$CC
}
2014-03-10 14:19:18 +01:00
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
}
}