From a2e9aec838d79a5d9a24e0451f2b8d5c65a35119 Mon Sep 17 00:00:00 2001 From: Grazvydas Ignotas Date: Wed, 1 Oct 2014 00:49:51 +0300 Subject: [PATCH] libffi: update to 3.0.9 --- recipes/libffi/libffi-native_2.0+gcc4.3.2.bb | 30 -------------------- recipes/libffi/libffi.inc | 12 ++++++++ recipes/libffi/libffi_3.0.9.bb | 5 ++++ 3 files changed, 17 insertions(+), 30 deletions(-) delete mode 100644 recipes/libffi/libffi-native_2.0+gcc4.3.2.bb create mode 100644 recipes/libffi/libffi.inc create mode 100644 recipes/libffi/libffi_3.0.9.bb diff --git a/recipes/libffi/libffi-native_2.0+gcc4.3.2.bb b/recipes/libffi/libffi-native_2.0+gcc4.3.2.bb deleted file mode 100644 index f0859e963f..0000000000 --- a/recipes/libffi/libffi-native_2.0+gcc4.3.2.bb +++ /dev/null @@ -1,30 +0,0 @@ -require libffi_${PV}.bb - -inherit native - -EXTRA_OECONF = "--with-gnu-ld \ - --enable-shared \ - --enable-target-optspace \ - --enable-languages=c,c++,f77 \ - --enable-threads=posix \ - --disable-multilib \ - --enable-c99 \ - --enable-long-long \ - --enable-symvers=gnu \ - --program-prefix=${TARGET_PREFIX} \ - ${EXTRA_OECONF_PATHS}" - -ffi_include = "ffi.h ffitarget.h" - -install_libffi_headers() { - : -} - -do_stage () { - oe_libinstall -so -C .libs libffi ${STAGING_LIBDIR} - - mkdir -p ${STAGING_INCDIR}/ - for i in ${ffi_include}; do - install -m 0644 include/$i ${STAGING_INCDIR}/ - done -} diff --git a/recipes/libffi/libffi.inc b/recipes/libffi/libffi.inc new file mode 100644 index 0000000000..87c9aea42a --- /dev/null +++ b/recipes/libffi/libffi.inc @@ -0,0 +1,12 @@ +SRC_URI = "ftp://sourceware.org/pub/libffi/${BPN}-${PV}.tar.gz" +LICENSE = "MIT" + +inherit autotools + +do_install_append() { + install -d ${D}${includedir} + mv ${D}${libdir}/libffi-${PV}/include/* ${D}${includedir}/ || true +} + +BBCLASSEXTEND = "native" + diff --git a/recipes/libffi/libffi_3.0.9.bb b/recipes/libffi/libffi_3.0.9.bb new file mode 100644 index 0000000000..434dc8b9c8 --- /dev/null +++ b/recipes/libffi/libffi_3.0.9.bb @@ -0,0 +1,5 @@ +require libffi.inc + +SRC_URI[md5sum] = "1f300a7a7f975d4046f51c3022fa5ff1" +SRC_URI[sha256sum] = "589d25152318bc780cd8919b14670793f4971d9838dab46ed38c32b3ee92c452" + -- 2.39.5