wok-current view glibc-locale/receipt @ rev 4345

syslinux: ifmem.c32 accepts unit K, M, G
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Oct 02 11:37:50 2009 +0200 (2009-10-02)
parents ab6f0fde903d
children d42b38d61b43
line source
1 # SliTaz package receipt.
3 PACKAGE="glibc-locale"
4 VERSION="2.10.1"
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"
9 WANTED="glibc"
10 WEB_SITE="http://www.gnu.org/software/libc/"
12 LOCALE_PACK="de cs es fr ru id it pt hu"
14 # When we will switch to UTF-8 some change must be done here, localdef
15 # must be include in glibc-base as well has some files in /usr/share/i18n.
17 # Rules to gen a SliTaz package suitable for Tazpkg.
18 genpkg_rules()
19 {
20 mkdir -p $fs/usr/share $fs/usr/lib $fs/usr/bin
22 cp -a $_pkg/usr/lib/gconv $fs/usr/lib
23 cp -a $_pkg/usr/share/locale $fs/usr/share
24 cp -a $_pkg/usr/share/i18n $fs/usr/share
25 cp -a $_pkg/usr/share/zoneinfo $fs/usr/share
27 # Utilities and tools
28 cp -a $_pkg/usr/bin/localedef $fs/usr/bin
29 cp -a $_pkg/usr/bin/iconv $fs/usr/bin
30 cp -a $_pkg/usr/bin/tzselect $fs/usr/bin
32 # Rm base files.
33 echo -n "Removing all base files..."
34 for file in `cat $WOK/glibc-base/taz/glibc-base-$VERSION/files.list`
35 do
36 rm -f ${fs}$file
37 done
38 status
40 # Rm glibc-extra-samba files.
41 echo -n "Removing all base files..."
42 for file in `cat $WOK/glibc-extra-samba/taz/glibc-extra-samba-$VERSION/files.list`
43 do
44 rm -f ${fs}$file
45 done
46 status
48 # Rm files provided by locale-pack.
49 for i in $LOCALE_PACK
50 do
51 echo -n "* Removing locale: $i"
52 rm -rf $fs/usr/share/locale/$i
53 status
54 done
55 }