[oe-commits] Khem Raj : readline: Use BBCLASSEXTEND for native recipe.
git version control
git at git.openembedded.org
Sun Mar 28 17:27:18 UTC 2010
Module: openembedded.git
Branch: shr/unstable
Commit: 2e551bcaf420a55759df977b5bcc1d6c06cece25
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=2e551bcaf420a55759df977b5bcc1d6c06cece25
Author: Khem Raj <raj.khem at gmail.com>
Date: Sun Mar 28 00:16:17 2010 -0700
readline: Use BBCLASSEXTEND for native recipe.
* Get rid of do_stage.
Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
recipes/readline/readline-native_4.3.bb | 4 ----
recipes/readline/readline-native_5.2.bb | 4 ----
recipes/readline/readline_4.3.bb | 8 +++-----
recipes/readline/readline_5.2.bb | 9 ++++-----
4 files changed, 7 insertions(+), 18 deletions(-)
diff --git a/recipes/readline/readline-native_4.3.bb b/recipes/readline/readline-native_4.3.bb
deleted file mode 100644
index c3ce970..0000000
--- a/recipes/readline/readline-native_4.3.bb
+++ /dev/null
@@ -1,4 +0,0 @@
-require readline_${PV}.bb
-inherit native
-DEPENDS = "ncurses-native"
-FILESPATH = "${FILE_DIRNAME}/readline-${PV}:${FILE_DIRNAME}/readline:${FILE_DIRNAME}/files:${FILE_DIRNAME}"
diff --git a/recipes/readline/readline-native_5.2.bb b/recipes/readline/readline-native_5.2.bb
deleted file mode 100644
index c3ce970..0000000
--- a/recipes/readline/readline-native_5.2.bb
+++ /dev/null
@@ -1,4 +0,0 @@
-require readline_${PV}.bb
-inherit native
-DEPENDS = "ncurses-native"
-FILESPATH = "${FILE_DIRNAME}/readline-${PV}:${FILE_DIRNAME}/readline:${FILE_DIRNAME}/files:${FILE_DIRNAME}"
diff --git a/recipes/readline/readline_4.3.bb b/recipes/readline/readline_4.3.bb
index a2420c5..12d6bb4 100644
--- a/recipes/readline/readline_4.3.bb
+++ b/recipes/readline/readline_4.3.bb
@@ -8,7 +8,7 @@ LICENSE = "GPLv2"
DEPENDS += "ncurses"
RPROVIDES_${PN} += "readline"
LEAD_SONAME = "libreadline.so"
-PR = "r3"
+PR = "r4"
SRC_URI = "${GNU_MIRROR}/readline/readline-${PV}.tar.gz \
file://shlink-termcap.patch;patch=1 \
@@ -22,13 +22,11 @@ do_configure () {
autotools_do_configure
}
-do_stage() {
- autotools_stage_all
-}
-
do_install () {
autotools_do_install
# Make install doesn't properly install these
oe_libinstall -so -C shlib libhistory ${D}${libdir}
oe_libinstall -so -C shlib libreadline ${D}${libdir}
}
+NATIVE_INSTALL_WORKS = 1
+BBCLASSEXTEND = "native"
diff --git a/recipes/readline/readline_5.2.bb b/recipes/readline/readline_5.2.bb
index b707116..0e8de36 100644
--- a/recipes/readline/readline_5.2.bb
+++ b/recipes/readline/readline_5.2.bb
@@ -8,7 +8,7 @@ LICENSE = "GPLv2"
DEPENDS += "ncurses"
RPROVIDES_${PN} += "readline"
LEAD_SONAME = "libreadline.so"
-PR = "r5"
+PR = "r6"
SRC_URI = "\
ftp://ftp.gnu.org/gnu/readline/readline-${PV}.tar.gz \
@@ -25,13 +25,12 @@ do_configure () {
autotools_do_configure
}
-do_stage() {
- autotools_stage_all
-}
-
do_install () {
autotools_do_install
# Make install doesn't properly install these
oe_libinstall -so -C shlib libhistory ${D}${libdir}
oe_libinstall -so -C shlib libreadline ${D}${libdir}
}
+NATIVE_INSTALL_WORKS = 1
+BBCLASSEXTEND = "native"
+
More information about the Openembedded-commits
mailing list