29 lines
760 B
Bash
29 lines
760 B
Bash
# Template file for 'libaio'
|
|
pkgname=libaio
|
|
version=0.3.111
|
|
revision=1
|
|
short_desc="The Linux-native asynchronous I/O facility (aio) library"
|
|
maintainer="Juan RP <xtraeme@voidlinux.org>"
|
|
license="LGPL-2.1-or-later"
|
|
homepage="http://lse.sourceforge.net/io/aio.html"
|
|
distfiles="${DEBIAN_SITE}/main/liba/$pkgname/${pkgname}_${version}.orig.tar.gz"
|
|
checksum=62cf871ad8fd09eb3418f00aca7a7d449299b8e1de31c65f28bf6a2ef1fa502a
|
|
|
|
do_build() {
|
|
CFLAGS="${CFLAGS/-fstack-protector-strong/} -fno-stack-protector"
|
|
make CC=$CC
|
|
}
|
|
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
|
|
}
|
|
}
|