34 lines
818 B
Bash
34 lines
818 B
Bash
# Template file for 'libaio'
|
|
pkgname=libaio
|
|
version=0.3.113
|
|
revision=1
|
|
short_desc="Linux-native asynchronous I/O facility (aio) library"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="LGPL-2.1-or-later"
|
|
homepage="https://lse.sourceforge.net/io/aio.html"
|
|
distfiles="${DEBIAN_SITE}/main/liba/$pkgname/${pkgname}_${version}.orig.tar.gz"
|
|
checksum=2c44d1c5fd0d43752287c9ae1eb9c023f04ef848ea8d4aafa46e9aedb678200b
|
|
|
|
do_build() {
|
|
CFLAGS="${CFLAGS/-fstack-protector-strong/} -fno-stack-protector"
|
|
make CC=$CC ${makejobs}
|
|
}
|
|
|
|
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"
|
|
|
|
for f in man/*.3; do
|
|
vman "$f"
|
|
done
|
|
}
|
|
}
|