summaryrefslogtreecommitdiff
path: root/gnu-config/gnu-config-native_cvs.oe
diff options
context:
space:
mode:
Diffstat (limited to 'gnu-config/gnu-config-native_cvs.oe')
-rw-r--r--gnu-config/gnu-config-native_cvs.oe14
1 files changed, 14 insertions, 0 deletions
diff --git a/gnu-config/gnu-config-native_cvs.oe b/gnu-config/gnu-config-native_cvs.oe
index e69de29bb2..85e47f2a48 100644
--- a/gnu-config/gnu-config-native_cvs.oe
+++ b/gnu-config/gnu-config-native_cvs.oe
@@ -0,0 +1,14 @@
+include gnu-config_${PV}.oe
+
+inherit native
+
+FILESDIR = "${@os.path.dirname(oe.data.getVar('FILE',d,1))}/gnu-config"
+
+do_stage () {
+ install -d ${STAGING_DATADIR}/gnu-config
+ cat ${WORKDIR}/gnu-configize.in | \
+ sed -e 's,@gnu-configdir@,${STAGING_DATADIR}/gnu-config,' \
+ -e 's,@autom4te_perllibdir@,${STAGING_DATADIR}/autoconf,' > ${STAGING_BINDIR}/gnu-configize
+ chmod 755 ${STAGING_BINDIR}/gnu-configize
+ install -m 0644 config.guess config.sub ${STAGING_DATADIR}/gnu-config/
+}