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