wok rev 20649
retawq: regenerate mo files (Aleksej)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jan 12 12:21:17 2019 +0100 (2019-01-12) |
parents | 8e17dd3d81ee |
children | 60b4b85c9db7 |
files | retawq/receipt |
line diff
1.1 --- a/retawq/receipt Sat Jan 12 12:12:27 2019 +0100 1.2 +++ b/retawq/receipt Sat Jan 12 12:21:17 2019 +0100 1.3 @@ -13,11 +13,17 @@ 1.4 HOST_ARCH="i486 arm" 1.5 1.6 DEPENDS="ncurses libtinfo openssl" 1.7 -BUILD_DEPENDS="ncurses-dev libtinfo openssl-dev" 1.8 +BUILD_DEPENDS="ncurses-dev gettext-dev libtinfo openssl-dev" 1.9 1.10 # Rules to configure and make the package. 1.11 compile_rules() 1.12 { 1.13 + # regenerate *.mo files (shipped ones are missed headers that lead to 1.14 + # thousand of errors when compressor normalize catalogs) 1.15 + for i in i18n/*.mo ; do 1.16 + rm $i && msgfmt -o $i ${i/mo/po} 1.17 + done 1.18 + 1.19 export LDFLAGS="-ltinfo" 1.20 # We have no locale support on ARM actually 1.21 case "$ARCH" in