summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorHenning Heinold <heinold@inf.fu-berlin.de>2008-06-04 10:24:28 +0000
committerHenning Heinold <heinold@inf.fu-berlin.de>2008-06-04 10:24:28 +0000
commit593cd2cbadb3997a5bfaca17d4b751214d8d2b92 (patch)
treea3e27047dd532d588a51509cc50365e24f3781ba /packages
parent5dc850417acbd4646f38377cb7d4d33165ce8975 (diff)
parent57b5e38713fe6750124375fa1c934ae9b8a87de4 (diff)
merge of '8a346ac0cb1c268bff470b0f2784075ba7eaea0b'
and '9dee7a8725dc7dc8f9882b09eee3fe13e9ab8eac'
Diffstat (limited to 'packages')
-rw-r--r--packages/m4/m4-native_1.4.11.bb19
-rw-r--r--packages/m4/m4_1.4.11.bb13
2 files changed, 32 insertions, 0 deletions
diff --git a/packages/m4/m4-native_1.4.11.bb b/packages/m4/m4-native_1.4.11.bb
new file mode 100644
index 0000000000..8beb8748e3
--- /dev/null
+++ b/packages/m4/m4-native_1.4.11.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.11.bb b/packages/m4/m4_1.4.11.bb
new file mode 100644
index 0000000000..77d8e822b0
--- /dev/null
+++ b/packages/m4/m4_1.4.11.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
+}