Add autoconf-archive macros for building with autotools
Created recipe to integrate version 2016.03.20 of the autoconf-archive
set of macros to provide more robust features building with autotools.
Also included deploying these macros into the appropriate host sdk
directory.
Change-Id: I73063012092c6cd7b0b26ebecec6466bd5196d2e
Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
diff --git a/common/recipes-core/packagegroups/nativesdk-packagegroup-sdk-host.bbappend b/common/recipes-core/packagegroups/nativesdk-packagegroup-sdk-host.bbappend
new file mode 100644
index 0000000..8f6c235
--- /dev/null
+++ b/common/recipes-core/packagegroups/nativesdk-packagegroup-sdk-host.bbappend
@@ -0,0 +1 @@
+RDEPENDS_${PN}_append = "nativesdk-autoconf-archive-dev"
diff --git a/common/recipes-devtools/autoconf-archive/autoconf-archive.inc b/common/recipes-devtools/autoconf-archive/autoconf-archive.inc
new file mode 100644
index 0000000..2b5df70
--- /dev/null
+++ b/common/recipes-devtools/autoconf-archive/autoconf-archive.inc
@@ -0,0 +1,16 @@
+SUMMARY = "A collection of macros for GNU Autoconf"
+DESCRIPTION = "The autoconf-archive set of macros extend the pre-defined \
+capabilities within the complete autoconf tool set."
+LICENSE = "GPLv3"
+HOMEPAGE = "http://www.gnu.org/software/autoconf-archive/"
+SECTION = "devel"
+DEPENDS += "m4-native"
+DEPENDS_class-native = "m4-native gnu-config-native"
+DEPENDS_class-nativesdk = "m4-nativesdk gnu-config-nativesdk"
+RDEPENDS_${PN} = "m4 gnu-config"
+RDEPENDS_${PN}_class-native = "m4-native gnu-config-native"
+RDEPENDS_${PN}_class-nativesdk = "m4-nativesdk gnu-config-nativesdk"
+
+SRC_URI = "${GNU_MIRROR}/${BPN}/${BPN}-${PV}.tar.xz"
+
+inherit autotools
diff --git a/common/recipes-devtools/autoconf-archive/autoconf-archive_2016.03.20.bb b/common/recipes-devtools/autoconf-archive/autoconf-archive_2016.03.20.bb
new file mode 100644
index 0000000..26f7342
--- /dev/null
+++ b/common/recipes-devtools/autoconf-archive/autoconf-archive_2016.03.20.bb
@@ -0,0 +1,13 @@
+require autoconf-archive.inc
+
+PARALLEL_MAKE = ""
+
+LICENSE = "GPLv2 & GPLv3"
+LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
+
+SRC_URI[md5sum] = "99c4167b8107189bb6dcb98b09956829"
+SRC_URI[sha256sum] = "88fb2efff640eddd28a52ae550ff5561bca3bd2bba09e1d7b0580e719875e437"
+
+EXTRA_OECONF += "ac_cv_path_M4=m4"
+
+BBCLASSEXTEND = "native nativesdk"