diff options
Diffstat (limited to 'meta/recipes-core/eglibc/cross-localedef-native_2.19.bb')
| -rw-r--r-- | meta/recipes-core/eglibc/cross-localedef-native_2.19.bb | 48 |
1 files changed, 0 insertions, 48 deletions
diff --git a/meta/recipes-core/eglibc/cross-localedef-native_2.19.bb b/meta/recipes-core/eglibc/cross-localedef-native_2.19.bb deleted file mode 100644 index 1c13eb824a..0000000000 --- a/meta/recipes-core/eglibc/cross-localedef-native_2.19.bb +++ /dev/null | |||
| @@ -1,48 +0,0 @@ | |||
| 1 | SUMMARY = "Cross locale generation tool for eglibc" | ||
| 2 | HOMEPAGE = "http://www.eglibc.org/home" | ||
| 3 | SECTION = "libs" | ||
| 4 | LICENSE = "LGPL-2.1" | ||
| 5 | |||
| 6 | LIC_DIR = "${WORKDIR}/eglibc-${PV}/libc" | ||
| 7 | LIC_FILES_CHKSUM = "file://${LIC_DIR}/LICENSES;md5=e9a558e243b36d3209f380deb394b213 \ | ||
| 8 | file://${LIC_DIR}/COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ | ||
| 9 | file://${LIC_DIR}/posix/rxspencer/COPYRIGHT;md5=dc5485bb394a13b2332ec1c785f5d83a \ | ||
| 10 | file://${LIC_DIR}/COPYING.LIB;md5=4fbd65380cdd255951079008b364516c" | ||
| 11 | |||
| 12 | |||
| 13 | inherit native | ||
| 14 | inherit autotools | ||
| 15 | |||
| 16 | FILESEXTRAPATHS =. "${FILE_DIRNAME}/${P}:" | ||
| 17 | |||
| 18 | SRC_URI = "http://downloads.yoctoproject.org/releases/eglibc/eglibc-${PV}-svnr25243.tar.bz2 \ | ||
| 19 | file://fix_for_centos_5.8.patch;patchdir=.. \ | ||
| 20 | " | ||
| 21 | SRC_URI[md5sum] = "197836c2ba42fb146e971222647198dd" | ||
| 22 | SRC_URI[sha256sum] = "baaa030531fc308f7820c46acdf8e1b2f8e3c1f40bcd28b6e440d1c95d170d4c" | ||
| 23 | |||
| 24 | S = "${WORKDIR}/eglibc-${PV}/localedef" | ||
| 25 | |||
| 26 | do_unpack_append() { | ||
| 27 | bb.build.exec_func('do_move_ports', d) | ||
| 28 | } | ||
| 29 | |||
| 30 | do_move_ports() { | ||
| 31 | if test -d ${WORKDIR}/eglibc-${PV}/ports ; then | ||
| 32 | rm -rf ${WORKDIR}/libc/ports | ||
| 33 | mv ${WORKDIR}/eglibc-${PV}/ports ${WORKDIR}/libc/ | ||
| 34 | fi | ||
| 35 | } | ||
| 36 | |||
| 37 | EXTRA_OECONF = "--with-glibc=${WORKDIR}/eglibc-${PV}/libc" | ||
| 38 | CFLAGS += "-DNOT_IN_libc=1" | ||
| 39 | |||
| 40 | do_configure () { | ||
| 41 | ${S}/configure ${EXTRA_OECONF} | ||
| 42 | } | ||
| 43 | |||
| 44 | |||
| 45 | do_install() { | ||
| 46 | install -d ${D}${bindir} | ||
| 47 | install -m 0755 ${B}/localedef ${D}${bindir}/cross-localedef | ||
| 48 | } | ||
