summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/gnu-config/gnu-config_20080123.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/gnu-config/gnu-config_20080123.bb')
-rw-r--r--meta/recipes-devtools/gnu-config/gnu-config_20080123.bb38
1 files changed, 38 insertions, 0 deletions
diff --git a/meta/recipes-devtools/gnu-config/gnu-config_20080123.bb b/meta/recipes-devtools/gnu-config/gnu-config_20080123.bb
new file mode 100644
index 0000000000..66d027e933
--- /dev/null
+++ b/meta/recipes-devtools/gnu-config/gnu-config_20080123.bb
@@ -0,0 +1,38 @@
1DESCRIPTION = "gnu-configize"
2SECTION = "devel"
3LICENSE = "GPL"
4DEPENDS = ""
5INHIBIT_DEFAULT_DEPS = "1"
6
7FIXEDSRCDATE = "${@bb.data.getVar('FILE', d, 1).split('_')[-1].split('.')[0]}"
8PV = "0.1+cvs${FIXEDSRCDATE}"
9PR = "r0"
10
11SRC_URI = "cvs://anonymous@cvs.sv.gnu.org/cvsroot/config;module=config;method=pserver;date=${FIXEDSRCDATE} \
12 file://config-guess-uclibc.patch \
13 file://gnu-configize.in"
14S = "${WORKDIR}/config"
15
16do_compile() {
17 :
18}
19
20do_install () {
21 install -d ${D}${datadir}/gnu-config \
22 ${D}${bindir}
23 cat ${WORKDIR}/gnu-configize.in | \
24 sed -e 's,@gnu-configdir@,${datadir}/gnu-config,g' \
25 -e 's,@autom4te_perllibdir@,${datadir}/autoconf,g' > ${D}${bindir}/gnu-configize
26 # In the native case we want the system perl as perl-native can't have built yet
27 if [ "${BUILD_ARCH}" != "${TARGET_ARCH}" ]; then
28 cat ${WORKDIR}/gnu-configize.in | \
29 sed -e 's,/usr/bin/perl,${bindir}/perl,g' > ${D}${bindir}/gnu-configize
30 fi
31 chmod 755 ${D}${bindir}/gnu-configize
32 install -m 0644 config.guess config.sub ${D}${datadir}/gnu-config/
33}
34
35PACKAGES = "${PN}"
36FILES_${PN} = "${bindir} ${datadir}/gnu-config"
37
38BBCLASSEXTEND = "native"