]>
Commit | Line | Data |
---|---|---|
3af615d7 SS |
1 | ############################################################################### |
2 | # # | |
3 | # IPFire.org - A linux based firewall # | |
4 | # Copyright (C) 2007, 2008 Michael Tremer & Christian Schmidt # | |
5 | # # | |
6 | # This program is free software: you can redistribute it and/or modify # | |
7 | # it under the terms of the GNU General Public License as published by # | |
8 | # the Free Software Foundation, either version 3 of the License, or # | |
9 | # (at your option) any later version. # | |
10 | # # | |
11 | # This program is distributed in the hope that it will be useful, # | |
12 | # but WITHOUT ANY WARRANTY; without even the implied warranty of # | |
13 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # | |
14 | # GNU General Public License for more details. # | |
15 | # # | |
16 | # You should have received a copy of the GNU General Public License # | |
17 | # along with this program. If not, see <http://www.gnu.org/licenses/>. # | |
18 | # # | |
19 | ############################################################################### | |
20 | ||
21 | ############################################################################### | |
22 | # Definitions | |
23 | ############################################################################### | |
24 | ||
25 | include $(PKGROOT)/Include | |
26 | ||
27 | PKG_NAME = libaio | |
28 | PKG_VER = 0.3.109 | |
591e5c87 | 29 | PKG_REL = 1 |
3af615d7 SS |
30 | |
31 | PKG_MAINTAINER = | |
bb7d617c | 32 | PKG_GROUPS = System/Libraries |
3af615d7 SS |
33 | PKG_URL = ftp://ftp.kernel.org/pub/linux/libs/aio/ |
34 | PKG_LICENSE = LGPLv2+ | |
35 | PKG_SUMMARY = Linux-native asynchronous I/O access library. | |
36 | ||
37 | PKG_PACKAGES += $(PKG_NAME_REAL)-devel | |
38 | ||
39 | define PKG_DESCRIPTION | |
97ec1362 | 40 | The Linux-native asynchronous I/O facility (async I/O, or aio) \ |
3af615d7 SS |
41 | has a richer API and capability set than the simple POSIX async I/O \ |
42 | facility. This library, libaio, provides the Linux-native API for \ | |
43 | async I/O. The POSIX async I/O facility requires this library in \ | |
44 | order to provide kernel-accelerated async I/O capabilities, as do \ | |
45 | applications which require the Linux-native async I/O API. | |
46 | endef | |
47 | ||
97ec1362 | 48 | PKG_BUILD_DEPS+= e2fsprogs-devel |
3af615d7 SS |
49 | |
50 | PKG_TARBALL = $(THISAPP).tar.bz2 | |
51 | ||
52 | define STAGE_BUILD | |
591e5c87 MT |
53 | cd $(DIR_APP) && make $(PARALLELISMFLAGS) \ |
54 | CFLAGS="$(CFLAGS) -I." CC="gcc" | |
3af615d7 SS |
55 | endef |
56 | ||
57 | define STAGE_INSTALL_CMDS | |
58 | # Modify links to be relative | |
59 | ln -svf libaio.so.1 $(BUILDROOT)/usr/lib/libaio.so | |
60 | ln -svf libaio.so.1.0.1 $(BUILDROOT)/usr/lib/libaio.so.1 | |
61 | endef |