diff options
Diffstat (limited to 'meta/recipes-core')
-rw-r--r-- | meta/recipes-core/eglibc/cross-localedef-native_2.12.bb | 37 |
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 @@ | |||
1 | DESCRIPTION = "Cross locale generation tool for eglibc" | ||
2 | HOMEPAGE = "http://www.eglibc.org/home" | ||
3 | SECTION = "libs" | ||
4 | PRIORITY = "required" | ||
5 | LICENSE = "LGPL" | ||
6 | |||
7 | inherit native | ||
8 | inherit autotools | ||
9 | |||
10 | PR = "r0" | ||
11 | SRCREV="10809" | ||
12 | EGLIBC_BRANCH="eglibc-2_12" | ||
13 | SRC_URI = "svn://www.eglibc.org/svn/branches/;module=${EGLIBC_BRANCH};proto=http " | ||
14 | S = "${WORKDIR}/${EGLIBC_BRANCH}/localedef" | ||
15 | |||
16 | do_unpack_append() { | ||
17 | bb.build.exec_func('do_move_ports', d) | ||
18 | } | ||
19 | |||
20 | do_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 | |||
27 | EXTRA_OECONF = "--with-glibc=${WORKDIR}/${EGLIBC_BRANCH}/libc" | ||
28 | |||
29 | do_configure () { | ||
30 | ./configure ${EXTRA_OECONF} | ||
31 | } | ||
32 | |||
33 | |||
34 | do_install() { | ||
35 | install -d ${D}${bindir} | ||
36 | install -m 0755 ${S}/localedef ${D}${bindir}/cross-localedef | ||
37 | } | ||