29 lines
760 B
Bash
29 lines
760 B
Bash
# Template file for 'libaio'
|
|
pkgname=libaio
|
|
version=0.3.112
|
|
revision=1
|
|
short_desc="The Linux-native asynchronous I/O facility (aio) library"
|
|
maintainer="Orphaned <orphan@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.xz"
|
|
checksum=f69e5800425f4ea957426693ac09f9896bb993db5490fa021644454adcc72a32
|
|
|
|
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
|
|
}
|
|
}
|