From 1cdf42bf16a34f4da42380b84d125b8866b21ee3 Mon Sep 17 00:00:00 2001 From: Chris Larson Date: Sat, 7 Aug 2004 21:54:14 +0000 Subject: Unbork gnu-config builds. BKrev: 41154f86CZdE-fpDDF5urpV-rEIYwA --- gnu-config/gnu-config-native.oe | 15 +++++++++++++++ gnu-config/gnu-config-native_cvs.oe | 14 ++++++++++++++ gnu-config/gnu-config.oe | 4 ++-- gnu-config/gnu-config_cvs.oe | 6 +++--- 4 files changed, 34 insertions(+), 5 deletions(-) (limited to 'gnu-config') diff --git a/gnu-config/gnu-config-native.oe b/gnu-config/gnu-config-native.oe index e69de29bb2..62ea2909c2 100644 --- a/gnu-config/gnu-config-native.oe +++ b/gnu-config/gnu-config-native.oe @@ -0,0 +1,15 @@ +include gnu-config.oe + +inherit native + +DEPENDS = "patcher-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/ +} 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/ +} diff --git a/gnu-config/gnu-config.oe b/gnu-config/gnu-config.oe index 82f73fdf73..66308e0afc 100644 --- a/gnu-config/gnu-config.oe +++ b/gnu-config/gnu-config.oe @@ -17,8 +17,8 @@ do_install () { install -d ${D}/${datadir}/gnu-config \ ${D}/${bindir} cat ${WORKDIR}/gnu-configize.in | \ - sed -e 's,@gnu-configdir@,${datadir}/gnu-config,; \ - s,@autom4te_perllibdir@,${datadir}/autoconf,;' > ${D}/${bindir}/gnu-configize + sed -e 's,@gnu-configdir@,${datadir}/gnu-config,' \ + -e 's,@autom4te_perllibdir@,${STAGING_DATADIR}/autoconf,' > ${STAGING_BINDIR}/gnu-configize chmod 755 ${D}/${bindir}/gnu-configize install -m 0644 config.guess config.sub ${D}/${datadir}/gnu-config/ } diff --git a/gnu-config/gnu-config_cvs.oe b/gnu-config/gnu-config_cvs.oe index f1a4358205..21f5485af1 100644 --- a/gnu-config/gnu-config_cvs.oe +++ b/gnu-config/gnu-config_cvs.oe @@ -1,4 +1,4 @@ -PV = "cvs" +PV = "0.1cvs${CVSDATE}" LICENSE = "GPL" MAINTAINER = "Chris Larson " SRC_URI = "cvs://anoncvs:@savannah.gnu.org/cvsroot/config;module=config;method=ext;rsh=ssh \ @@ -19,8 +19,8 @@ do_install () { install -d ${D}/${datadir}/gnu-config \ ${D}/${bindir} cat ${WORKDIR}/gnu-configize.in | \ - sed -e 's,@gnu-configdir@,${datadir}/gnu-config,; \ - s,@autom4te_perllibdir@,${datadir}/autoconf,;' > ${D}/${bindir}/gnu-configize + sed -e 's,@gnu-configdir@,${datadir}/gnu-config,' \ + -e 's,@autom4te_perllibdir@,${STAGING_DATADIR}/autoconf,' > ${STAGING_BINDIR}/gnu-configize chmod 755 ${D}/${bindir}/gnu-configize install -m 0644 config.guess config.sub ${D}/${datadir}/gnu-config/ } -- cgit v1.2.3