wok annotate glibc-locale/receipt @ rev 4254
Up xorg-libX11 (1.2.2)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Sep 25 09:38:33 2009 +0200 (2009-09-25) |
parents | ab6f0fde903d |
children | d42b38d61b43 |
rev | line source |
---|---|
pankso@529 | 1 # SliTaz package receipt. |
pankso@529 | 2 |
pankso@529 | 3 PACKAGE="glibc-locale" |
pankso@3152 | 4 VERSION="2.10.1" |
pankso@529 | 5 CATEGORY="system-tools" |
pankso@2701 | 6 SHORT_DESC="The GNU C libraries locale files and utilities (see also locale-*)." |
pankso@529 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@3152 | 8 DEPENDS="glibc-base glibc-extra-samba" |
pankso@529 | 9 WANTED="glibc" |
pankso@529 | 10 WEB_SITE="http://www.gnu.org/software/libc/" |
pankso@529 | 11 |
pankso@3152 | 12 LOCALE_PACK="de cs es fr ru id it pt hu" |
pankso@3152 | 13 |
pankso@3152 | 14 # When we will switch to UTF-8 some change must be done here, localdef |
pankso@3152 | 15 # must be include in glibc-base as well has some files in /usr/share/i18n. |
pankso@2701 | 16 |
pankso@529 | 17 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@529 | 18 genpkg_rules() |
pankso@529 | 19 { |
pankso@601 | 20 mkdir -p $fs/usr/share $fs/usr/lib $fs/usr/bin |
pankso@601 | 21 |
pankso@601 | 22 cp -a $_pkg/usr/lib/gconv $fs/usr/lib |
pankso@601 | 23 cp -a $_pkg/usr/share/locale $fs/usr/share |
pankso@601 | 24 cp -a $_pkg/usr/share/i18n $fs/usr/share |
pankso@601 | 25 cp -a $_pkg/usr/share/zoneinfo $fs/usr/share |
pankso@601 | 26 |
pankso@601 | 27 # Utilities and tools |
pankso@601 | 28 cp -a $_pkg/usr/bin/localedef $fs/usr/bin |
pankso@601 | 29 cp -a $_pkg/usr/bin/iconv $fs/usr/bin |
pankso@601 | 30 cp -a $_pkg/usr/bin/tzselect $fs/usr/bin |
pankso@601 | 31 |
pankso@601 | 32 # Rm base files. |
pankso@601 | 33 echo -n "Removing all base files..." |
pankso@601 | 34 for file in `cat $WOK/glibc-base/taz/glibc-base-$VERSION/files.list` |
pankso@601 | 35 do |
pankso@601 | 36 rm -f ${fs}$file |
pankso@601 | 37 done |
pankso@601 | 38 status |
pankso@2756 | 39 |
pankso@2756 | 40 # Rm glibc-extra-samba files. |
pankso@2756 | 41 echo -n "Removing all base files..." |
pankso@2756 | 42 for file in `cat $WOK/glibc-extra-samba/taz/glibc-extra-samba-$VERSION/files.list` |
pankso@2756 | 43 do |
pankso@2756 | 44 rm -f ${fs}$file |
pankso@2756 | 45 done |
pankso@2756 | 46 status |
pankso@601 | 47 |
pankso@601 | 48 # Rm files provided by locale-pack. |
pankso@2701 | 49 for i in $LOCALE_PACK |
pankso@602 | 50 do |
pankso@670 | 51 echo -n "* Removing locale: $i" |
pankso@602 | 52 rm -rf $fs/usr/share/locale/$i |
pankso@670 | 53 status |
pankso@602 | 54 done |
pankso@529 | 55 } |