diff --git a/glibc-locales.be0 b/glibc-locales.be0 deleted file mode 100755 index b7b160d3d..000000000 --- a/glibc-locales.be0 +++ /dev/null @@ -1,24 +0,0 @@ -#!/bin/env beesh - -# BEE_VERSION glibc-locales-2.33-0 - -mee_install() { - mkdir -pv ${D}${LIBDIR}/locale - localedef --prefix=${D} -i cs_CZ -f UTF-8 cs_CZ.UTF-8 - localedef --prefix=${D} -i de_DE -f ISO-8859-1 de_DE - localedef --prefix=${D} -i de_DE@euro -f ISO-8859-15 de_DE@euro - localedef --prefix=${D} -i de_DE -f UTF-8 de_DE.UTF-8 - localedef --prefix=${D} -i en_HK -f ISO-8859-1 en_HK - localedef --prefix=${D} -i en_PH -f ISO-8859-1 en_PH - localedef --prefix=${D} -i en_US -f ISO-8859-1 en_US - localedef --prefix=${D} -i en_US -f UTF-8 en_US.UTF-8 - localedef --prefix=${D} -i es_MX -f ISO-8859-1 es_MX - localedef --prefix=${D} -i fa_IR -f UTF-8 fa_IR - localedef --prefix=${D} -i fr_FR -f ISO-8859-1 fr_FR - localedef --prefix=${D} -i fr_FR@euro -f ISO-8859-15 fr_FR@euro - localedef --prefix=${D} -i fr_FR -f UTF-8 fr_FR.UTF-8 - localedef --prefix=${D} -i it_IT -f ISO-8859-1 it_IT - localedef --prefix=${D} -i ja_JP -f EUC-JP ja_JP - localedef --prefix=${D} -i tr_TR -f UTF-8 tr_TR.UTF-8 - localedef --prefix=${D} -i zh_CN -f GB18030 zh_CN.GB18030 -} diff --git a/glibc.be0 b/glibc.be0 index fc947eb44..b1cfea9f9 100755 --- a/glibc.be0 +++ b/glibc.be0 @@ -1,6 +1,6 @@ #!/bin/env beesh -# BEE_VERSION glibc-2.33-0 +# BEE_VERSION glibc-2.36-0 SRCURL[0]="https://ftp.gnu.org/gnu/glibc/glibc-${PKGVERSION}.tar.bz2" @@ -89,10 +89,28 @@ mee_install_post() { cd - fi - # "make install" created (e.g.) /lib64/ld-linux-x86-64.so.2 -> ../lib/ld-2.26.so - # we have /lib64 -> /lib , so remove the lib64 directory and create a new link + # "make install" created (e.g.) /lib64/ld-linux-x86-64.so.2 + # we have /lib64 -> /lib , so move the lib and remove the lib64 directory # - rm $D/lib64/ld-linux-x86-64.so.${PKGVERSION[1]} + mv $D/lib64/ld-linux-x86-64.so.${PKGVERSION[1]} $D/lib/ rmdir $D/lib64 - ln -s ld-$PKGVERSION.so $D/lib/ld-linux-x86-64.so.${PKGVERSION[1]} + + mkdir -pv ${D}${LIBDIR}/locale + localedef --prefix=${D} -i cs_CZ -f UTF-8 cs_CZ.UTF-8 + localedef --prefix=${D} -i de_DE -f ISO-8859-1 de_DE + localedef --prefix=${D} -i de_DE@euro -f ISO-8859-15 de_DE@euro + localedef --prefix=${D} -i de_DE -f UTF-8 de_DE.UTF-8 + localedef --prefix=${D} -i en_HK -f ISO-8859-1 en_HK + localedef --prefix=${D} -i en_PH -f ISO-8859-1 en_PH + localedef --prefix=${D} -i en_US -f ISO-8859-1 en_US + localedef --prefix=${D} -i en_US -f UTF-8 en_US.UTF-8 + localedef --prefix=${D} -i es_MX -f ISO-8859-1 es_MX + localedef --prefix=${D} -i fa_IR -f UTF-8 fa_IR + localedef --prefix=${D} -i fr_FR -f ISO-8859-1 fr_FR + localedef --prefix=${D} -i fr_FR@euro -f ISO-8859-15 fr_FR@euro + localedef --prefix=${D} -i fr_FR -f UTF-8 fr_FR.UTF-8 + localedef --prefix=${D} -i it_IT -f ISO-8859-1 it_IT + localedef --prefix=${D} -i ja_JP -f EUC-JP ja_JP + localedef --prefix=${D} -i tr_TR -f UTF-8 tr_TR.UTF-8 + localedef --prefix=${D} -i zh_CN -f GB18030 zh_CN.GB18030 }