summaryrefslogtreecommitdiff
path: root/recipes/swig
diff options
context:
space:
mode:
authorPhilip Balister <philip@balister.org>2010-06-18 10:12:57 -0400
committerPhilip Balister <philip@balister.org>2010-06-18 10:15:01 -0400
commit1fcb25aff7a5c7a965d51fca5222ab33ed1b0448 (patch)
treebabf88ea0471b07a0228f9eb02a437ebcd38edbd /recipes/swig
parent3981cd6da91e02a51717456565026576fbc1b2cb (diff)
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.
Diffstat (limited to 'recipes/swig')
-rw-r--r--recipes/swig/swig.inc2
-rw-r--r--recipes/swig/swig_1.3.39.bb2
-rw-r--r--recipes/swig/swig_2.0.0.bb7
3 files changed, 9 insertions, 2 deletions
diff --git a/recipes/swig/swig.inc b/recipes/swig/swig.inc
index 30d556c90a..0603d1cfe5 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 5d1c46ce7a..2db94dae34 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 0000000000..b443def58a
--- /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"
+