aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/libffi/libffi_3.0.9.bb
diff options
context:
space:
mode:
authorGraeme Gregory <dp@xora.org.uk>2010-11-19 10:01:25 +0000
committerGraeme Gregory <dp@xora.org.uk>2011-01-02 10:05:41 +0000
commit794d09ffc47da707f2d4d1ead1665803e19722c3 (patch)
treea984eea60c26a214220d6b8cd8f067c1d5cc593a /recipes/libffi/libffi_3.0.9.bb
parentc320c09ee13f587b7466fd7cc7a6b23b7e0f0863 (diff)
downloadopenembedded-794d09ffc47da707f2d4d1ead1665803e19722c3.tar.gz
libffi_3.0.9.bb : add a BBCLASSEXTEND version of latest libffi
Initially taken from poky with changes required for OE. Poky recipe is much simpler than the ones we have in OE and it seems we have a lot of historic that is no longer needed. Acked-by: Khem Raj <raj.khemi@gmail.com> Acked-by: Frans Meulenbroeks <fransmeulenbroeksi@gmail.com>
Diffstat (limited to 'recipes/libffi/libffi_3.0.9.bb')
-rw-r--r--recipes/libffi/libffi_3.0.9.bb15
1 files changed, 15 insertions, 0 deletions
diff --git a/recipes/libffi/libffi_3.0.9.bb b/recipes/libffi/libffi_3.0.9.bb
new file mode 100644
index 0000000000..9f7dbc3ff9
--- /dev/null
+++ b/recipes/libffi/libffi_3.0.9.bb
@@ -0,0 +1,15 @@
+SRC_URI = "ftp://sourceware.org/pub/libffi/${BPN}-${PV}.tar.gz"
+LICENSE = "MIT"
+
+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"
+