[oe-commits] Martin Jansa : re2c: convert to BBCLASSEXTEND

git version control git at git.openembedded.org
Mon Dec 20 13:47:06 UTC 2010


Module: openembedded.git
Branch: master
Commit: b0451b6881dad98ff875eb4f58306018346428bd
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=b0451b6881dad98ff875eb4f58306018346428bd

Author: Martin Jansa <Martin.Jansa at gmail.com>
Date:   Mon Dec 20 12:30:53 2010 +0100

re2c: convert to BBCLASSEXTEND

Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>

---

 recipes/re2c/re2c-native_0.13.1.bb |    8 --------
 recipes/re2c/re2c.inc              |    4 ++--
 recipes/re2c/re2c_0.13.1.bb        |    2 --
 3 files changed, 2 insertions(+), 12 deletions(-)

diff --git a/recipes/re2c/re2c-native_0.13.1.bb b/recipes/re2c/re2c-native_0.13.1.bb
deleted file mode 100644
index fe70bae..0000000
--- a/recipes/re2c/re2c-native_0.13.1.bb
+++ /dev/null
@@ -1,8 +0,0 @@
-require re2c.inc 
-
-PR = "r0"
-
-inherit native
-
-SRC_URI[md5sum] = "d6168a6c18d5912e98d9343b33fdad97"
-SRC_URI[sha256sum] = "1a47035dd0f283dbc6c0964679afdf6f2c975b462419d1880ac379dc880ba74a"
diff --git a/recipes/re2c/re2c.inc b/recipes/re2c/re2c.inc
index 730059e..5e44dbe 100644
--- a/recipes/re2c/re2c.inc
+++ b/recipes/re2c/re2c.inc
@@ -5,8 +5,8 @@ SECTION = "devel"
 PRIORITY = "optional"
 LICENSE = "PD"
 
-SRC_URI = "${SOURCEFORGE_MIRROR}/re2c/re2c-${PV}.tar.gz"
+SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${BPN}-${PV}.tar.gz"
 
-S = "${WORKDIR}/re2c-${PV}"
+BBCLASSEXTEND = "native"
 
 inherit autotools
diff --git a/recipes/re2c/re2c_0.13.1.bb b/recipes/re2c/re2c_0.13.1.bb
index 3b16686..054852a 100644
--- a/recipes/re2c/re2c_0.13.1.bb
+++ b/recipes/re2c/re2c_0.13.1.bb
@@ -1,6 +1,4 @@
 require re2c.inc 
 
-PR = "r0"
-
 SRC_URI[md5sum] = "d6168a6c18d5912e98d9343b33fdad97"
 SRC_URI[sha256sum] = "1a47035dd0f283dbc6c0964679afdf6f2c975b462419d1880ac379dc880ba74a"





More information about the Openembedded-commits mailing list