summaryrefslogtreecommitdiff
path: root/recipes/gnu-config/gnu-config-native_20050701.bb
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/gnu-config/gnu-config-native_20050701.bb')
-rw-r--r--recipes/gnu-config/gnu-config-native_20050701.bb16
1 files changed, 16 insertions, 0 deletions
diff --git a/recipes/gnu-config/gnu-config-native_20050701.bb b/recipes/gnu-config/gnu-config-native_20050701.bb
new file mode 100644
index 0000000000..43df124f7f
--- /dev/null
+++ b/recipes/gnu-config/gnu-config-native_20050701.bb
@@ -0,0 +1,16 @@
+SECTION = "base"
+require 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/
+ install -d ${STAGING_BINDIR}/
+ 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/
+}