summaryrefslogtreecommitdiff
path: root/swig
diff options
context:
space:
mode:
Diffstat (limited to 'swig')
-rw-r--r--swig/swig-native_1.3.21.oe8
-rw-r--r--swig/swig_1.3.21.oe14
2 files changed, 22 insertions, 0 deletions
diff --git a/swig/swig-native_1.3.21.oe b/swig/swig-native_1.3.21.oe
index e69de29bb2..63c49b0240 100644
--- a/swig/swig-native_1.3.21.oe
+++ b/swig/swig-native_1.3.21.oe
@@ -0,0 +1,8 @@
+SECTION = "unknown"
+include swig_${PV}.oe
+inherit native
+FILESDIR = "${@os.path.dirname(oe.data.getVar('FILE',d,1))}/swig-${PV}"
+
+do_stage() {
+ oe_runmake install PREFIX=${STAGING_BINDIR}/..
+}
diff --git a/swig/swig_1.3.21.oe b/swig/swig_1.3.21.oe
index e69de29bb2..b9d6a30faa 100644
--- a/swig/swig_1.3.21.oe
+++ b/swig/swig_1.3.21.oe
@@ -0,0 +1,14 @@
+SECTION = "unknown"
+DESCRIPTION = "SWIG - Simplified Wrapper and Interface Generator"
+
+#SRC_URI = "${SOURCEFORGE_MIRROR}/swig/swig-${PV}.tar.gz"
+SRC_URI = "http://heanet.dl.sourceforge.net/sourceforge/swig/swig-1.3.21.tar.gz"
+S = "${WORKDIR}/SWIG-${PV}"
+
+inherit autotools
+
+EXTRA_OECONF = "--with-python=${STAGING_BINDIR} --with-swiglibdir=${STAGING_DIR}/${BUILD_SYS}/swig"
+
+do_configure() {
+ oe_runconf
+}