* native packages now use BBCLASSEXTEND method.
* Now installs need files into target.
* include file to eliminate duplicate portions of the recipe.
+++ /dev/null
-require swig_${PV}.bb
-inherit native
-
-do_stage() {
- oe_runmake install PREFIX=${STAGING_BINDIR}/..
-}
-
+++ /dev/null
-require swig_${PV}.bb
-inherit native
-
-do_stage() {
- oe_runmake install PREFIX=${STAGING_BINDIR}/..
-}
-
+++ /dev/null
-require swig_${PV}.bb
-inherit native
-
-do_stage() {
- oe_runmake install PREFIX=${STAGING_BINDIR}/..
-}
-
--- /dev/null
+DESCRIPTION = "SWIG - Simplified Wrapper and Interface Generator"
+HOMEPAGE = "http://swig.sourceforge.net/"
+LICENSE = "BSD"
+SECTION = "devel"
+INC_PR = "r1"
+
+SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${BPN}-${PV}.tar.gz"
+
+inherit autotools
+
+BBCLASSEXTEND = "native"
+
+do_configure() {
+ oe_runconf
+}
+
-DESCRIPTION = "SWIG - Simplified Wrapper and Interface Generator"
-HOMEPAGE = "http://swig.sourceforge.net/"
-LICENSE = "BSD"
-SECTION = "devel"
+require swig.inc
-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
-}
+PR = "${INC_PR}.0"
-DESCRIPTION = "SWIG - Simplified Wrapper and Interface Generator"
-HOMEPAGE = "http://swig.sourceforge.net/"
-LICENSE = "BSD"
-SECTION = "devel"
+require swig.inc
-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
-}
+PR = "${INC_PR}.0"
-DESCRIPTION = "SWIG - Simplified Wrapper and Interface Generator"
-HOMEPAGE = "http://swig.sourceforge.net/"
-LICENSE = "BSD"
-SECTION = "devel"
+require swig.inc
-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
-}
+PR = "${INC_PR}.0"
+DEFAULT_PREFERENCE = "-1"