wok-6.x annotate glibc-locale/receipt @ rev 5512
Up: zile (2.3.16)
author | Alexander Medvedev <devl547@gmail.com> |
---|---|
date | Mon May 10 19:29:29 2010 +0000 (2010-05-10) |
parents | d42b38d61b43 |
children | 8f591bab8b6f |
rev | line source |
---|---|
pankso@529 | 1 # SliTaz package receipt. |
pankso@529 | 2 |
pankso@529 | 3 PACKAGE="glibc-locale" |
pankso@5248 | 4 VERSION="2.11.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@4855 | 8 DEPENDS="glibc-base glibc-extra-samba slitaz-i18n" |
pankso@529 | 9 WANTED="glibc" |
pankso@529 | 10 WEB_SITE="http://www.gnu.org/software/libc/" |
pankso@529 | 11 |
pankso@4855 | 12 LOCALE_PACK="cs de es fr hu id it pt ru sl zh_CN zh_TW" |
pankso@2701 | 13 |
pankso@529 | 14 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@529 | 15 genpkg_rules() |
pankso@529 | 16 { |
pankso@601 | 17 mkdir -p $fs/usr/share $fs/usr/lib $fs/usr/bin |
pankso@601 | 18 |
pankso@601 | 19 cp -a $_pkg/usr/lib/gconv $fs/usr/lib |
pankso@601 | 20 cp -a $_pkg/usr/share/locale $fs/usr/share |
pankso@601 | 21 cp -a $_pkg/usr/share/i18n $fs/usr/share |
pankso@601 | 22 cp -a $_pkg/usr/share/zoneinfo $fs/usr/share |
pankso@601 | 23 |
pankso@601 | 24 # Utilities and tools |
pankso@601 | 25 cp -a $_pkg/usr/bin/iconv $fs/usr/bin |
pankso@601 | 26 cp -a $_pkg/usr/bin/tzselect $fs/usr/bin |
pankso@601 | 27 |
pankso@4855 | 28 # Rm slitaz-i18n files. |
pankso@4855 | 29 ver=`grep ^VERSION $WOK/slitaz-i18n/receipt | cut -d "\"" -f 2` |
pankso@4855 | 30 echo -n "Removing all slitaz-i18n files..." |
pankso@4855 | 31 for file in `cat $WOK/slitaz-i18n/taz/slitaz-i18n-$ver/files.list` |
pankso@4855 | 32 do |
pankso@4855 | 33 rm -f ${fs}$file |
pankso@4855 | 34 done |
pankso@4855 | 35 status |
pankso@4855 | 36 |
pankso@601 | 37 # Rm base files. |
pankso@601 | 38 echo -n "Removing all base files..." |
pankso@601 | 39 for file in `cat $WOK/glibc-base/taz/glibc-base-$VERSION/files.list` |
pankso@601 | 40 do |
pankso@601 | 41 rm -f ${fs}$file |
pankso@601 | 42 done |
pankso@601 | 43 status |
pankso@2756 | 44 |
pankso@2756 | 45 # Rm glibc-extra-samba files. |
pankso@2756 | 46 echo -n "Removing all base files..." |
pankso@2756 | 47 for file in `cat $WOK/glibc-extra-samba/taz/glibc-extra-samba-$VERSION/files.list` |
pankso@2756 | 48 do |
pankso@2756 | 49 rm -f ${fs}$file |
pankso@2756 | 50 done |
pankso@2756 | 51 status |
pankso@601 | 52 |
pankso@601 | 53 # Rm files provided by locale-pack. |
pankso@2701 | 54 for i in $LOCALE_PACK |
pankso@602 | 55 do |
pankso@670 | 56 echo -n "* Removing locale: $i" |
pankso@602 | 57 rm -rf $fs/usr/share/locale/$i |
pankso@670 | 58 status |
pankso@602 | 59 done |
pankso@529 | 60 } |