[oe-commits] Robert Schuster : * introduce libffi.inc and make 3.0.9 use it
git version control
git at git.openembedded.org
Sat Mar 12 08:09:50 UTC 2011
Module: openembedded.git
Branch: master
Commit: 7be74c605d03227afa5b6823b9da3de42c5d75ed
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=7be74c605d03227afa5b6823b9da3de42c5d75ed
Author: Robert Schuster <rschus at tarub.tarent.buero>
Date: Tue Mar 8 09:19:51 2011 +0100
* 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(-)
diff --git a/recipes/libffi/libffi.inc b/recipes/libffi/libffi.inc
new file mode 100644
index 0000000..87c9aea
--- /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 9f7dbc3..434dc8b 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"
-
More information about the Openembedded-commits
mailing list