[oe-commits] Philip Balister : swig : Add swig-2.0.0, add DEPENDS on python, and remove DEF PREF -1 on .39

git version control git at git.openembedded.org
Fri Jun 18 14:15:42 UTC 2010


Module: openembedded.git
Branch: org.openembedded.dev
Commit: 1fcb25aff7a5c7a965d51fca5222ab33ed1b0448
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=1fcb25aff7a5c7a965d51fca5222ab33ed1b0448

Author: Philip Balister <philip at balister.org>
Date:   Fri Jun 18 10:12:57 2010 -0400

swig : Add swig-2.0.0, add DEPENDS on python, and remove DEF PREF -1 on .39

 * Without the DEPENDS on python it is possible to build swig without python
   support, which breaks gnuradio builds.

---

 recipes/swig/swig.inc       |    2 ++
 recipes/swig/swig_1.3.39.bb |    2 --
 recipes/swig/swig_2.0.0.bb  |    7 +++++++
 3 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/recipes/swig/swig.inc b/recipes/swig/swig.inc
index 30d556c..0603d1c 100644
--- a/recipes/swig/swig.inc
+++ b/recipes/swig/swig.inc
@@ -4,6 +4,8 @@ LICENSE = "BSD"
 SECTION = "devel"
 INC_PR = "r1"
 
+DEPENDS = "python"
+
 SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${BPN}-${PV}.tar.gz"
 
 inherit autotools
diff --git a/recipes/swig/swig_1.3.39.bb b/recipes/swig/swig_1.3.39.bb
index 5d1c46c..2db94da 100644
--- a/recipes/swig/swig_1.3.39.bb
+++ b/recipes/swig/swig_1.3.39.bb
@@ -2,7 +2,5 @@ require swig.inc
 
 PR = "${INC_PR}.1"
 
-DEFAULT_PREFERENCE = "-1"
-
 SRC_URI[md5sum] = "ac201d1b87f8659584534f9540d7ad24"
 SRC_URI[sha256sum] = "bb2d5d9373cf1fe03faaadb02de47af3b058b0300e0f58ece6a7212f0a2b11dc"
diff --git a/recipes/swig/swig_2.0.0.bb b/recipes/swig/swig_2.0.0.bb
new file mode 100644
index 0000000..b443def
--- /dev/null
+++ b/recipes/swig/swig_2.0.0.bb
@@ -0,0 +1,7 @@
+require swig.inc
+
+PR = "${INC_PR}.0"
+
+SRC_URI[md5sum] = "36ee2d9974be46a9f0a36460af928eb9"
+SRC_URI[sha256sum] = "2568d042d3c7cfbcb17e2471b0434bd3aa78d7a1829f9ef6f1b9fc522e4754ea"
+





More information about the Openembedded-commits mailing list