1 # libaio-oracle .bb build file
2 # Copyright (C) 2005-2006, Advanced Micro Devices, Inc. All Rights Reserved
3 # Released under the MIT license (see /COPYING)
5 DESCRIPTION="This is a library for accessing the new AIO system calls (asynchronous i/o) for the Linux kernel."
6 HOMEPAGE="http://oss.oracle.com/projects/libaio-oracle"
10 SRC_URI="http://oss.oracle.com/projects/libaio-oracle/dist/files/${PN}-${PV}.tar.gz"
19 #We don't have a raw.h with uClibc, so copy in the one from glibc
20 SRC_URI_append_linux-uclibc=" file://raw.h"
22 do_configure_prepend_linux-uclibc () {
23 install -D -m 0644 ${WORKDIR}/raw.h ${S}/sys/raw.h
29 mkdir -p ${STAGE_TEMP}
30 oe_runmake DESTDIR="${STAGE_TEMP}" install
31 install -m 0644 ${STAGE_TEMP}/usr/include/libaio-oracle/libaio-oracle.h ${STAGING_INCDIR}
32 rm -f ${STAGE_TEMP}/usr/lib/*.la
33 oe_libinstall -a -so -C ${STAGE_TEMP}/usr/lib libaio-oracle ${STAGING_LIBDIR}