popt: Use BBCLASSEXTEND instead of native recipes.
authorKhem Raj <raj.khem@gmail.com>
Wed, 4 Aug 2010 18:31:46 +0000 (11:31 -0700)
committerKhem Raj <raj.khem@gmail.com>
Thu, 5 Aug 2010 15:25:50 +0000 (08:25 -0700)
* Use INC_PR

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Acked-by: Martin Jansa <Martin.Jansa@gmail.com>
recipes/popt/popt-native_1.14.bb [deleted file]
recipes/popt/popt-native_1.7.bb [deleted file]
recipes/popt/popt.inc
recipes/popt/popt_1.14.bb
recipes/popt/popt_1.7.bb

diff --git a/recipes/popt/popt-native_1.14.bb b/recipes/popt/popt-native_1.14.bb
deleted file mode 100644 (file)
index dfad9fb..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-require popt_${PV}.bb
-DEPENDS = "gettext-native"
-inherit native
-
-FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/popt-${PV}"
diff --git a/recipes/popt/popt-native_1.7.bb b/recipes/popt/popt-native_1.7.bb
deleted file mode 100644 (file)
index c3c5a63..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-require popt_${PV}.bb
-DEPENDS = "gettext-native"
-inherit native
-
-S = "${WORKDIR}/popt-${PV}"
-
-FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/popt-${PV}"
-
-SRC_URI[md5sum] = "5988e7aeb0ae4dac8d83561265984cc9"
-SRC_URI[sha256sum] = "4e75cb28793f0d44134f71fae53057d5f250805e6268fbd9c9780654b73b0dc1"
index 07671d7..d95bc49 100644 (file)
@@ -4,6 +4,6 @@ AUTHOR = "Jeff Johnson"
 LICENSE = "MIT"
 SECTION = "libs"
 
-S = "${WORKDIR}/popt-${PV}"
-FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/popt-${PV}"
+INC_PR = "r3"
 
+inherit autotools gettext
index 1f6a220..d5e9a60 100644 (file)
@@ -1,11 +1,10 @@
 require popt.inc
-PR = "r2"
-
-inherit autotools_stage gettext
+PR = "${INC_PR}.0"
 
 SRC_URI = "\
   http://rpm5.org/files/popt/popt-${PV}.tar.gz \
 "
+BBCLASSEXTEND = "native"
 
 SRC_URI[md5sum] = "4f90a07316eb825604dd10ae4f9f3f04"
 SRC_URI[sha256sum] = "175be17571e9af3ad622531b494a0738ae632c60c8c6329273778b2b6fbbad74"
index aab8094..c568539 100644 (file)
@@ -1,10 +1,6 @@
 require popt.inc
 
-PR = "r1"
-
-DEPENDS = "gettext virtual/libintl"
-
-inherit autotools autotools_stage
+PR = "${INC_PR}.0"
 
 SRC_URI = "\
   http://rpm.org/releases/historical/rpm-4.1.x/popt-${PV}.tar.gz \
@@ -22,5 +18,7 @@ do_configure() {
        oe_runconf
 }
 
+BBCLASSEXTEND = "native"
+
 SRC_URI[md5sum] = "5988e7aeb0ae4dac8d83561265984cc9"
 SRC_URI[sha256sum] = "4e75cb28793f0d44134f71fae53057d5f250805e6268fbd9c9780654b73b0dc1"