summaryrefslogtreecommitdiff
path: root/gnu-config
diff options
context:
space:
mode:
Diffstat (limited to 'gnu-config')
-rw-r--r--gnu-config/gnu-config-native.oe15
-rw-r--r--gnu-config/gnu-config-native_cvs.oe14
-rw-r--r--gnu-config/gnu-config.oe4
-rw-r--r--gnu-config/gnu-config_cvs.oe6
4 files changed, 34 insertions, 5 deletions
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 <kergoth@handhelds.org>"
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/
}