summaryrefslogtreecommitdiff
path: root/packages/swig
diff options
context:
space:
mode:
Diffstat (limited to 'packages/swig')
-rw-r--r--packages/swig/swig-native_1.3.38.bb7
-rw-r--r--packages/swig/swig_1.3.38.bb16
2 files changed, 23 insertions, 0 deletions
diff --git a/packages/swig/swig-native_1.3.38.bb b/packages/swig/swig-native_1.3.38.bb
new file mode 100644
index 0000000000..8210bb9cfb
--- /dev/null
+++ b/packages/swig/swig-native_1.3.38.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.38.bb b/packages/swig/swig_1.3.38.bb
new file mode 100644
index 0000000000..8a8138c21c
--- /dev/null
+++ b/packages/swig/swig_1.3.38.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_NATIVE}/swig"
+
+do_configure() {
+ oe_runconf
+}
+