wok-6.x view glibc-locale/receipt @ rev 8078
Up: mesa 7.10
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Sat Jan 22 02:37:34 2011 +0100 (2011-01-22) |
parents | fbdaec46125a |
children | 85505c8dd53a |
line source
1 # SliTaz package receipt.
3 PACKAGE="glibc-locale"
4 VERSION="2.11.2"
5 CATEGORY="system-tools"
6 SHORT_DESC="The GNU C libraries locale files and utilities (see also locale-*)."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="glibc-base glibc-extra-samba slitaz-i18n"
9 WANTED="glibc"
10 WEB_SITE="http://www.gnu.org/software/libc/"
12 LOCALE_PACK="cs de es fr hu id it pt ru sl zh_CN zh_TW"
14 # Rules to gen a SliTaz package suitable for Tazpkg.
15 genpkg_rules()
16 {
17 mkdir -p $fs/usr/share $fs/usr/lib $fs/usr/bin
19 cp -a $_pkg/usr/lib/gconv $fs/usr/lib
20 cp -a $_pkg/usr/share/locale $fs/usr/share
21 cp -a $_pkg/usr/share/i18n $fs/usr/share
22 cp -a $_pkg/usr/share/zoneinfo $fs/usr/share
24 # Utilities and tools
25 cp -a $_pkg/usr/bin/iconv $fs/usr/bin
26 cp -a $_pkg/usr/bin/tzselect $fs/usr/bin
28 # Rm slitaz-i18n files.
29 ver=`grep ^VERSION $WOK/slitaz-i18n/receipt | cut -d "\"" -f 2`
30 echo -n "Removing all slitaz-i18n files..."
31 for file in `cat $WOK/slitaz-i18n/taz/slitaz-i18n-$ver/files.list`
32 do
33 rm -f ${fs}$file
34 done
35 status
37 # Rm base files.
38 echo -n "Removing all base files..."
39 for file in `cat $WOK/glibc-base/taz/glibc-base-$VERSION/files.list`
40 do
41 rm -f ${fs}$file
42 done
43 status
45 # Rm glibc-extra-samba files.
46 echo -n "Removing all base files..."
47 for file in `cat $WOK/glibc-extra-samba/taz/glibc-extra-samba-$VERSION/files.list`
48 do
49 rm -f ${fs}$file
50 done
51 status
53 # Rm files provided by locale-pack.
54 for i in $LOCALE_PACK
55 do
56 echo -n "* Removing locale: $i"
57 rm -rf $fs/usr/share/locale/$i
58 status
59 done
60 }