wok-4.x annotate glibc-locale/receipt @ rev 602
Add apps translation to locale-pack
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu Apr 17 22:16:16 2008 +0200 (2008-04-17) |
parents | e61c02d34bc6 |
children | 585bd52eb85b |
rev | line source |
---|---|
pankso@529 | 1 # SliTaz package receipt. |
pankso@529 | 2 |
pankso@529 | 3 PACKAGE="glibc-locale" |
pankso@529 | 4 VERSION="2.7" |
pankso@529 | 5 CATEGORY="system-tools" |
pankso@529 | 6 SHORT_DESC="The GNU C libraries locale files (see also locale-*)." |
pankso@529 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@570 | 8 DEPENDS="glibc-base" |
pankso@529 | 9 WANTED="glibc" |
pankso@529 | 10 WEB_SITE="http://www.gnu.org/software/libc/" |
pankso@529 | 11 SOURCES="glibc" |
pankso@529 | 12 |
pankso@529 | 13 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@529 | 14 # |
pankso@529 | 15 # This package provide glibc locale files and utility. |
pankso@529 | 16 # |
pankso@529 | 17 genpkg_rules() |
pankso@529 | 18 { |
pankso@601 | 19 mkdir -p $fs/usr/share $fs/usr/lib $fs/usr/bin |
pankso@601 | 20 |
pankso@601 | 21 cp -a $_pkg/usr/lib/gconv $fs/usr/lib |
pankso@601 | 22 cp -a $_pkg/usr/share/locale $fs/usr/share |
pankso@601 | 23 cp -a $_pkg/usr/share/i18n $fs/usr/share |
pankso@601 | 24 cp -a $_pkg/usr/share/zoneinfo $fs/usr/share |
pankso@601 | 25 |
pankso@601 | 26 # Utilities and tools |
pankso@601 | 27 cp -a $_pkg/usr/bin/localedef $fs/usr/bin |
pankso@601 | 28 cp -a $_pkg/usr/bin/iconv $fs/usr/bin |
pankso@601 | 29 cp -a $_pkg/usr/bin/tzselect $fs/usr/bin |
pankso@601 | 30 |
pankso@601 | 31 # Rm base files. |
pankso@601 | 32 echo -n "Removing all base files..." |
pankso@601 | 33 for file in `cat $WOK/glibc-base/taz/glibc-base-$VERSION/files.list` |
pankso@601 | 34 do |
pankso@601 | 35 rm -f ${fs}$file |
pankso@601 | 36 done |
pankso@601 | 37 status |
pankso@601 | 38 |
pankso@601 | 39 # Rm files provided by locale-pack. |
pankso@602 | 40 for i in cs es fr ru |
pankso@602 | 41 do |
pankso@602 | 42 rm -rf $fs/usr/share/locale/$i |
pankso@602 | 43 done |
pankso@602 | 44 # Gconv files |
pankso@601 | 45 rm -f $fs/usr/lib/gconv/KOI8-RU.so |
pankso@529 | 46 } |