wok-6.x annotate glibc-locale/receipt @ rev 601
Typo in glibc-* and add all zoneinfo to glibc-locale
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu Apr 17 21:57:45 2008 +0200 (2008-04-17) |
parents | ab8b4e288bc8 |
children | 66a35c398785 |
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@601 | 40 |
pankso@601 | 41 # cs |
pankso@601 | 42 rm -f $fs/usr/share/i18n/locales/cs_CZ |
pankso@601 | 43 rm -rf $fs/usr/share/locale/cs |
pankso@601 | 44 # es |
pankso@601 | 45 rm -f $fs/usr/share/i18n/locales/es_ES |
pankso@601 | 46 rm -rf $fs/usr/share/locale/es |
pankso@601 | 47 # fr |
pankso@601 | 48 rm -f $fs/usr/share/i18n/locales/fr_FR |
pankso@601 | 49 rm -rf $fs/usr/share/locale/fr |
pankso@601 | 50 # ru |
pankso@601 | 51 rm -f $fs/usr/share/i18n/locales/ru_RU |
pankso@601 | 52 rm -rf $fs/usr/share/locale/ru |
pankso@601 | 53 rm -f $fs/usr/share/i18n/charmaps/KOI8-RU.gz |
pankso@601 | 54 rm -f $fs/usr/lib/gconv/KOI8-RU.so |
pankso@529 | 55 } |