From 7be74c605d03227afa5b6823b9da3de42c5d75ed Mon Sep 17 00:00:00 2001 From: Robert Schuster Date: Tue, 8 Mar 2011 09:19:51 +0100 Subject: [PATCH] * introduce libffi.inc and make 3.0.9 use it --- recipes/libffi/libffi.inc | 12 ++++++++++++ recipes/libffi/libffi_3.0.9.bb | 12 +----------- 2 files changed, 13 insertions(+), 11 deletions(-) create mode 100644 recipes/libffi/libffi.inc 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 index 9f7dbc3ff9..434dc8b9c8 100644 --- a/recipes/libffi/libffi_3.0.9.bb +++ b/recipes/libffi/libffi_3.0.9.bb @@ -1,15 +1,5 @@ -SRC_URI = "ftp://sourceware.org/pub/libffi/${BPN}-${PV}.tar.gz" -LICENSE = "MIT" +require libffi.inc SRC_URI[md5sum] = "1f300a7a7f975d4046f51c3022fa5ff1" SRC_URI[sha256sum] = "589d25152318bc780cd8919b14670793f4971d9838dab46ed38c32b3ee92c452" -inherit autotools - -do_install_append() { - install -d ${D}${includedir} - mv ${D}${libdir}/libffi-${PV}/include/* ${D}${includedir}/ || true -} - -BBCLASSEXTEND = "native" - -- 2.39.5