summaryrefslogtreecommitdiff
path: root/meta
diff options
context:
space:
mode:
Diffstat (limited to 'meta')
-rw-r--r--meta/packages/m4/m4-native_1.4.9.bb19
-rw-r--r--meta/packages/m4/m4_1.4.9.bb13
2 files changed, 32 insertions, 0 deletions
diff --git a/meta/packages/m4/m4-native_1.4.9.bb b/meta/packages/m4/m4-native_1.4.9.bb
new file mode 100644
index 0000000000..8beb8748e3
--- /dev/null
+++ b/meta/packages/m4/m4-native_1.4.9.bb
@@ -0,0 +1,19 @@
+require m4_${PV}.bb
+
+inherit native
+
+FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/m4"
+
+INHIBIT_AUTOTOOLS_DEPS = "1"
+DEPENDS += "gnu-config-native"
+
+do_configure() {
+ install -m 0644 ${STAGING_DATADIR}/gnu-config/config.sub .
+ install -m 0644 ${STAGING_DATADIR}/gnu-config/config.guess .
+ oe_runconf
+}
+
+do_stage() {
+ install -m 0755 src/m4 ${STAGING_BINDIR}/
+}
+
diff --git a/meta/packages/m4/m4_1.4.9.bb b/meta/packages/m4/m4_1.4.9.bb
new file mode 100644
index 0000000000..77d8e822b0
--- /dev/null
+++ b/meta/packages/m4/m4_1.4.9.bb
@@ -0,0 +1,13 @@
+DESCRIPTION = "GNU m4 is an implementation of the traditional Unix macro \
+processor."
+LICENSE = "GPL"
+SRC_URI = "${GNU_MIRROR}/m4/m4-${PV}.tar.gz"
+S = "${WORKDIR}/m4-${PV}"
+
+inherit autotools
+
+EXTRA_OEMAKE += "'infodir=${infodir}'"
+
+do_configure() {
+ oe_runconf
+}