summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packages/swig/swig-native_1.3.31.bb7
-rw-r--r--packages/swig/swig_1.3.31.bb16
2 files changed, 23 insertions, 0 deletions
diff --git a/packages/swig/swig-native_1.3.31.bb b/packages/swig/swig-native_1.3.31.bb
new file mode 100644
index 0000000000..8210bb9cfb
--- /dev/null
+++ b/packages/swig/swig-native_1.3.31.bb
@@ -0,0 +1,7 @@
+require swig_${PV}.bb
+inherit native
+
+do_stage() {
+ oe_runmake install PREFIX=${STAGING_BINDIR}/..
+}
+
diff --git a/packages/swig/swig_1.3.31.bb b/packages/swig/swig_1.3.31.bb
new file mode 100644
index 0000000000..c8f595be07
--- /dev/null
+++ b/packages/swig/swig_1.3.31.bb
@@ -0,0 +1,16 @@
+DESCRIPTION = "SWIG - Simplified Wrapper and Interface Generator"
+HOMEPAGE = "http://swig.sourceforge.net/"
+LICENSE = "BSD"
+SECTION = "devel"
+
+SRC_URI = "${SOURCEFORGE_MIRROR}/swig/swig-${PV}.tar.gz"
+S = "${WORKDIR}/swig-${PV}"
+
+inherit autotools
+
+EXTRA_OECONF = "--with-python=${STAGING_BINDIR_NATIVE} --with-swiglibdir=${STAGING_DIR}/${BUILD_SYS}/swig"
+
+do_configure() {
+ oe_runconf
+}
+