summaryrefslogtreecommitdiff
path: root/gnu-config
diff options
context:
space:
mode:
authorChris Larson <clarson@kergoth.com>2004-05-15 01:18:26 +0000
committerChris Larson <clarson@kergoth.com>2004-05-15 01:18:26 +0000
commite40e4d6961e474c72b01372d76b5719a32f86992 (patch)
treeabae7be5f958e0159c430d82b4619d682d8f9c0e /gnu-config
parentc94fb6ec546b839f4d0d398f77cd8cde090d868d (diff)
Add a couple new fields to the gnu-config .oe.
BKrev: 40a56fe2ANk_v3VlolgIjRZclb7bgQ
Diffstat (limited to 'gnu-config')
-rw-r--r--gnu-config/gnu-config.oe33
1 files changed, 33 insertions, 0 deletions
diff --git a/gnu-config/gnu-config.oe b/gnu-config/gnu-config.oe
index e69de29bb2..1935f9c0df 100644
--- a/gnu-config/gnu-config.oe
+++ b/gnu-config/gnu-config.oe
@@ -0,0 +1,33 @@
+PV = "0.1"
+LICENSE = "GPL"
+MAINTAINER = "Chris Larson <kergoth@handhelds.org>"
+SRC_URI = "ftp://ftp.club.cc.cmu.edu/pub/gnu/config/config.guess \
+ ftp://ftp.club.cc.cmu.edu/pub/gnu/config/config.sub \
+ file://${FILESDIR}/uclibc.patch;patch=1;pnum=0 \
+ file://${FILESDIR}/gnu-configize.in"
+S = "${WORKDIR}"
+
+INHIBIT_DEFAULT_DEPS = "1"
+DEPENDS = "patcher-native"
+PACKAGES = "${PN}"
+FILES_${PN} = "${bindir} \
+ ${datadir}/gnu-config"
+
+do_stage () {
+ install -d ${STAGING_DIR}/${BUILD_SYS}/share/gnu-config
+ cat ${WORKDIR}/gnu-configize.in | \
+ sed -e 's,@gnu-configdir@,${STAGING_DIR}/${BUILD_SYS}/share/gnu-config,; \
+ s,@autom4te_perllibdir@,${STAGING_DIR}/${BUILD_SYS}/share/autoconf,;' > ${STAGING_BINDIR}/gnu-configize
+ chmod 755 ${STAGING_BINDIR}/gnu-configize
+ install -m 0644 config.guess config.sub ${STAGING_DIR}/${BUILD_SYS}/share/gnu-config/
+}
+
+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
+ chmod 755 ${D}/${bindir}/gnu-configize
+ install -m 0644 config.guess config.sub ${D}/${datadir}/gnu-config/
+}