summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorStanislav Brabec <utx@penguin.cz>2009-03-16 15:13:02 +0000
committerutx@penguin.cz <utx@penguin.cz>2009-03-16 15:13:02 +0000
commitf0d34a2170d68baba050fdc918f22cfc7151d48d (patch)
tree9e040a2b94ef399eaf75e77801730f287bc817e9 /packages
parent726bc3af56f4d8379694085a6863a07aa8668e1c (diff)
m4: Updated to version 1.4.12.
Diffstat (limited to 'packages')
-rw-r--r--packages/m4/m4-native_1.4.12.bb19
-rw-r--r--packages/m4/m4_1.4.12.bb13
2 files changed, 32 insertions, 0 deletions
diff --git a/packages/m4/m4-native_1.4.12.bb b/packages/m4/m4-native_1.4.12.bb
new file mode 100644
index 0000000000..8beb8748e3
--- /dev/null
+++ b/packages/m4/m4-native_1.4.12.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/packages/m4/m4_1.4.12.bb b/packages/m4/m4_1.4.12.bb
new file mode 100644
index 0000000000..77d8e822b0
--- /dev/null
+++ b/packages/m4/m4_1.4.12.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
+}