diff options
| author | Nitin A Kamble <nitin.a.kamble@intel.com> | 2010-10-04 13:29:44 -0700 |
|---|---|---|
| committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-10-07 22:11:36 +0100 |
| commit | 2e040618978b93d0add0e7e115c17545685c9dfc (patch) | |
| tree | 6164f28e31250133db832fe79d53d8b0acb2b4ec /meta | |
| parent | 7b079e1d0842e3a1e18ebc1d1fad8c97c96639eb (diff) | |
| download | poky-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')
| -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 | } | ||
