swig : Add swig-2.0.0, add DEPENDS on python, and remove DEF PREF -1 on .39
authorPhilip Balister <philip@balister.org>
Fri, 18 Jun 2010 14:12:57 +0000 (10:12 -0400)
committerPhilip Balister <philip@balister.org>
Fri, 18 Jun 2010 14:15:01 +0000 (10:15 -0400)
 * Without the DEPENDS on python it is possible to build swig without python
   support, which breaks gnuradio builds.

recipes/swig/swig.inc
recipes/swig/swig_1.3.39.bb
recipes/swig/swig_2.0.0.bb [new file with mode: 0644]

index 30d556c..0603d1c 100644 (file)
@@ -4,6 +4,8 @@ LICENSE = "BSD"
 SECTION = "devel"
 INC_PR = "r1"
 
+DEPENDS = "python"
+
 SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${BPN}-${PV}.tar.gz"
 
 inherit autotools
index 5d1c46c..2db94da 100644 (file)
@@ -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 (file)
index 0000000..b443def
--- /dev/null
@@ -0,0 +1,7 @@
+require swig.inc
+
+PR = "${INC_PR}.0"
+
+SRC_URI[md5sum] = "36ee2d9974be46a9f0a36460af928eb9"
+SRC_URI[sha256sum] = "2568d042d3c7cfbcb17e2471b0434bd3aa78d7a1829f9ef6f1b9fc522e4754ea"
+