]>
Commit | Line | Data |
---|---|---|
1 | ############################################################################### | |
2 | # IPFire.org - An Open Source Firewall Solution # | |
3 | # Copyright (C) - IPFire Development Team <info@ipfire.org> # | |
4 | ############################################################################### | |
5 | ||
6 | name = libaio | |
7 | version = 0.3.109 | |
8 | release = 2 | |
9 | ||
10 | groups = System/Libraries | |
11 | url = ftp://ftp.kernel.org/pub/linux/libs/aio/ | |
12 | license = LGPLv2+ | |
13 | summary = Linux-native asynchronous I/O access library. | |
14 | ||
15 | description | |
16 | The Linux-native asynchronous I/O facility (async I/O, or aio) \ | |
17 | has a richer API and capability set than the simple POSIX async I/O \ | |
18 | facility. This library, libaio, provides the Linux-native API for \ | |
19 | async I/O. The POSIX async I/O facility requires this library in \ | |
20 | order to provide kernel-accelerated async I/O capabilities, as do \ | |
21 | applications which require the Linux-native async I/O API. | |
22 | end | |
23 | ||
24 | source_dl = | |
25 | sources = %{thisapp}.tar.bz2 | |
26 | ||
27 | build | |
28 | requires | |
29 | e2fsprogs-devel | |
30 | end | |
31 | ||
32 | build | |
33 | make %{PARALLELISMFLAGS} \ | |
34 | CFLAGS="%{CFLAGS} -I. -fPIC" CC="gcc" | |
35 | end | |
36 | ||
37 | make_install_targets += prefix=/ libdir=%{libdir} usrlibdir=%{libdir} | |
38 | ||
39 | install_cmds | |
40 | # Modify links to be relative | |
41 | ln -svf libaio.so.1 %{BUILDROOT}%{libdir}/libaio.so | |
42 | ln -svf libaio.so.1.0.1 %{BUILDROOT}%{libdir}/libaio.so.1 | |
43 | end | |
44 | end | |
45 | ||
46 | packages | |
47 | package %{name} | |
48 | ||
49 | package %{name}-devel | |
50 | template DEVEL | |
51 | end | |
52 | ||
53 | package %{name}-debuginfo | |
54 | template DEBUGINFO | |
55 | end | |
56 | end |