wok-current rev 12829
glibc-base: improve ARM package, add more libs
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue May 22 15:15:50 2012 +0200 (2012-05-22) |
parents | 91a6e8662cd7 |
children | fd8053e3df39 |
files | glibc-base/receipt |
line diff
1.1 --- a/glibc-base/receipt Tue May 22 14:21:52 2012 +0200 1.2 +++ b/glibc-base/receipt Tue May 22 15:15:50 2012 +0200 1.3 @@ -32,13 +32,16 @@ 1.4 # 20120514: Include just minal libs for Busybox so we can create 1.5 # bootable Qemu image for ARM. 1.6 echo "Using cross compiled Glibc..." 1.7 - mkdir -p $fs/lib $fs/etc $fs/usr/bin 1.8 install=/usr/cross/$ARCH 1.9 + mkdir -p $fs/lib $fs/etc $fs/usr/bin \ 1.10 + $fs/usr/lib/gconv $fs/usr/share/i18n/charmaps 1.11 + # /usr/bin 1.12 for bin in locale localedef 1.13 do 1.14 cp $install/bin/$bin $fs/usr/bin 1.15 done 1.16 - for lib in libcrypt libm libc 1.17 + # /lib 1.18 + for lib in libcrypt libm libc libresolv librt libutil libpthread 1.19 do 1.20 cp -a $install/lib/${lib}-*.so $fs/lib 1.21 cp -a $install/lib/${lib}.so* $fs/lib 1.22 @@ -48,13 +51,10 @@ 1.23 cp -a $install/lib/libc_nonshared.a $fs/lib 1.24 cp $install/etc/rpc $fs/etc 1.25 touch $fs/etc/ld.so.conf 1.26 - ## i18n 1.27 - #mkdir -p $fs/usr/share/i18n/locales 1.28 - #for i in $DEFAULT_LOCALE 1.29 - #do 1.30 - #cp $install/share/i18n/locales/$i \ 1.31 - #$fs/usr/share/i18n/locales 1.32 - #done 1.33 + # i18n 1.34 + cp $install/lib/gconv/UNICODE.so $fs/usr/lib/gconv 1.35 + #cp -a $install/share/i18n/charmaps/UTF-8.gz \ 1.36 + #$fs/usr/share/i18n/charmaps 1.37 # Fix libraries search path 1.38 sed -i s'|/usr/cross/arm||'g $fs/lib/libc.so ;; 1.39 *)