summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-core')
-rw-r--r--meta/recipes-core/eglibc/cross-localedef-native_2.12.bb37
1 files changed, 37 insertions, 0 deletions
diff --git a/meta/recipes-core/eglibc/cross-localedef-native_2.12.bb b/meta/recipes-core/eglibc/cross-localedef-native_2.12.bb
new file mode 100644
index 0000000000..a12779d3a1
--- /dev/null
+++ b/meta/recipes-core/eglibc/cross-localedef-native_2.12.bb
@@ -0,0 +1,37 @@
1DESCRIPTION = "Cross locale generation tool for eglibc"
2HOMEPAGE = "http://www.eglibc.org/home"
3SECTION = "libs"
4PRIORITY = "required"
5LICENSE = "LGPL"
6
7inherit native
8inherit autotools
9
10PR = "r0"
11SRCREV="10809"
12EGLIBC_BRANCH="eglibc-2_12"
13SRC_URI = "svn://www.eglibc.org/svn/branches/;module=${EGLIBC_BRANCH};proto=http "
14S = "${WORKDIR}/${EGLIBC_BRANCH}/localedef"
15
16do_unpack_append() {
17 bb.build.exec_func('do_move_ports', d)
18}
19
20do_move_ports() {
21 if test -d ${WORKDIR}/${EGLIBC_BRANCH}/ports ; then
22 rm -rf ${S}../libc/ports
23 mv ${WORKDIR}/${EGLIBC_BRANCH}/ports ${S}/../libc/
24 fi
25}
26
27EXTRA_OECONF = "--with-glibc=${WORKDIR}/${EGLIBC_BRANCH}/libc"
28
29do_configure () {
30 ./configure ${EXTRA_OECONF}
31}
32
33
34do_install() {
35 install -d ${D}${bindir}
36 install -m 0755 ${S}/localedef ${D}${bindir}/cross-localedef
37}