readline: Use BBCLASSEXTEND for native recipe.
authorKhem Raj <raj.khem@gmail.com>
Sun, 28 Mar 2010 07:16:17 +0000 (00:16 -0700)
committerKhem Raj <raj.khem@gmail.com>
Sun, 28 Mar 2010 07:16:17 +0000 (00:16 -0700)
* Get rid of do_stage.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
recipes/readline/readline-native_4.3.bb [deleted file]
recipes/readline/readline-native_5.2.bb [deleted file]
recipes/readline/readline_4.3.bb
recipes/readline/readline_5.2.bb

diff --git a/recipes/readline/readline-native_4.3.bb b/recipes/readline/readline-native_4.3.bb
deleted file mode 100644 (file)
index c3ce970..0000000
+++ /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 (file)
index c3ce970..0000000
+++ /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}"
index a2420c5..12d6bb4 100644 (file)
@@ -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"
index b707116..0e8de36 100644 (file)
@@ -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"
+