diff options
Diffstat (limited to 'packages/libaio/libaio-oracle_0.3.0.bb')
-rw-r--r-- | packages/libaio/libaio-oracle_0.3.0.bb | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/packages/libaio/libaio-oracle_0.3.0.bb b/packages/libaio/libaio-oracle_0.3.0.bb new file mode 100644 index 0000000000..e3aa23d78b --- /dev/null +++ b/packages/libaio/libaio-oracle_0.3.0.bb @@ -0,0 +1,35 @@ +# libaio-oracle .bb build file +# Copyright (C) 2005-2006, Advanced Micro Devices, Inc. All Rights Reserved +# Released under the MIT license (see /COPYING) + +DESCRIPTION="This is a library for accessing the new AIO system calls (asynchronous i/o) for the Linux kernel." +HOMEPAGE="http://oss.oracle.com/projects/libaio-oracle" +MAINTAINER = "Raymond Danks <raymondd@ia.amd.com>" +LICENSE="GPL" + +SRC_URI="http://oss.oracle.com/projects/libaio-oracle/dist/files/${PN}-${PV}.tar.gz" + +DEPENDS="libaio" +RDEPENDS="libaio" + +inherit autotools + +FILES_${PN}="/usr" + +#We don't have a raw.h with uClibc, so copy in the one from glibc +SRC_URI_append_linux-uclibc=" file://raw.h" + +do_configure_prepend_linux-uclibc () { + install -D -m 0644 ${WORKDIR}/raw.h ${S}/sys/raw.h +} + +do_stage() { + + rm -rf ${STAGE_TEMP} + mkdir -p ${STAGE_TEMP} + oe_runmake DESTDIR="${STAGE_TEMP}" install + install -m 0644 ${STAGE_TEMP}/usr/include/libaio-oracle/libaio-oracle.h ${STAGING_INCDIR} + rm -f ${STAGE_TEMP}/usr/lib/*.la + oe_libinstall -a -so -C ${STAGE_TEMP}/usr/lib libaio-oracle ${STAGING_LIBDIR} +} + |