summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core
diff options
context:
space:
mode:
authorNitin A Kamble <nitin.a.kamble@intel.com>2010-10-04 13:29:44 -0700
committerRichard Purdie <rpurdie@linux.intel.com>2010-10-07 22:11:36 +0100
commit2e040618978b93d0add0e7e115c17545685c9dfc (patch)
tree6164f28e31250133db832fe79d53d8b0acb2b4ec /meta/recipes-core
parent7b079e1d0842e3a1e18ebc1d1fad8c97c96639eb (diff)
downloadpoky-2e040618978b93d0add0e7e115c17545685c9dfc.tar.gz
cross-localedef-native: tool for cross generation of locales
Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
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}