summaryrefslogtreecommitdiff
path: root/packages/gnu-config/gnu-config-native_20050701.bb
diff options
context:
space:
mode:
Diffstat (limited to 'packages/gnu-config/gnu-config-native_20050701.bb')
-rw-r--r--packages/gnu-config/gnu-config-native_20050701.bb15
1 files changed, 15 insertions, 0 deletions
diff --git a/packages/gnu-config/gnu-config-native_20050701.bb b/packages/gnu-config/gnu-config-native_20050701.bb
new file mode 100644
index 0000000000..7ee47fe5d5
--- /dev/null
+++ b/packages/gnu-config/gnu-config-native_20050701.bb
@@ -0,0 +1,15 @@
+SECTION = "base"
+include gnu-config_${PV}.bb
+
+inherit native
+
+FILESDIR = "${@os.path.dirname(bb.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/
+}