aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/libaio/libaio_0.3.110.bb
blob: cbe29ce2ab243bbf928b76e91a24b198df96cc44 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
SUMMARY = "Asynchronous I/O library"
DESCRIPTION = "Asynchronous input/output library that uses the kernels native interface"
HOMEPAGE = "http://lse.sourceforge.net/io/aio.html"

LICENSE = "LGPLv2.1+"
LIC_FILES_CHKSUM = "file://COPYING;md5=d8045f3b8f929c1cb29a1e3fd737b499"

SRC_URI = "${DEBIAN_MIRROR}/main/liba/libaio/libaio_${PV}.orig.tar.gz \
           file://generic-arch-dectection-for-padding-defines.patch \
           file://00_arches.patch \
           file://destdir.patch \
           file://libaio_fix_for_x32.patch \
           file://libaio_fix_for_mips_syscalls.patch \
"

SRC_URI[md5sum] = "2a35602e43778383e2f4907a4ca39ab8"
SRC_URI[sha256sum] = "e019028e631725729376250e32b473012f7cb68e1f7275bfc1bbcdd0f8745f7e"

EXTRA_OEMAKE =+ "prefix=${prefix} includedir=${includedir} libdir=${libdir}"
# Need libc for stack-protector's __stack_chk_fail_local() bounce function
LDFLAGS_append_x86 = " -lc"

do_configure () {
    sed -i 's#LINK_FLAGS=.*#LINK_FLAGS=$(LDFLAGS)#' src/Makefile
}

do_install () {
    oe_runmake install DESTDIR=${D}
}