56 lines
1.5 KiB
Plaintext
56 lines
1.5 KiB
Plaintext
###############################################################################
|
|
# IPFire.org - An Open Source Firewall Solution #
|
|
# Copyright (C) - IPFire Development Team <info@ipfire.org> #
|
|
###############################################################################
|
|
|
|
name = libaio
|
|
version = 0.3.110
|
|
release = 1
|
|
|
|
groups = System/Libraries
|
|
url = ftp://ftp.kernel.org/pub/linux/libs/aio/
|
|
license = LGPLv2+
|
|
summary = Linux-native asynchronous I/O access library.
|
|
|
|
description
|
|
The Linux-native asynchronous I/O facility (async I/O, or aio) \
|
|
has a richer API and capability set than the simple POSIX async I/O \
|
|
facility. This library, libaio, provides the Linux-native API for \
|
|
async I/O. The POSIX async I/O facility requires this library in \
|
|
order to provide kernel-accelerated async I/O capabilities, as do \
|
|
applications which require the Linux-native async I/O API.
|
|
end
|
|
|
|
source_dl = https://fedorahosted.org/releases/l/i/libaio/
|
|
|
|
build
|
|
requires
|
|
e2fsprogs-devel
|
|
end
|
|
|
|
build
|
|
make %{PARALLELISMFLAGS} \
|
|
CFLAGS="%{CFLAGS} -I. -fPIC" CC="gcc"
|
|
end
|
|
|
|
make_install_targets += prefix=%{prefix} libdir=%{libdir} usrlibdir=%{libdir}
|
|
|
|
install_cmds
|
|
# Modify links to be relative
|
|
ln -svf libaio.so.1 %{BUILDROOT}%{libdir}/libaio.so
|
|
ln -svf libaio.so.1.0.1 %{BUILDROOT}%{libdir}/libaio.so.1
|
|
end
|
|
end
|
|
|
|
packages
|
|
package %{name}
|
|
|
|
package %{name}-devel
|
|
template DEVEL
|
|
end
|
|
|
|
package %{name}-debuginfo
|
|
template DEBUGINFO
|
|
end
|
|
end
|