wok view glibc-locale/receipt @ rev 670
Removed misc files + replace iso8859-15 by koi8 for Russian support
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Apr 23 23:06:22 2008 +0200 (2008-04-23) |
parents | 66a35c398785 |
children | 8d131e7b79c2 |
line source
1 # SliTaz package receipt.
3 PACKAGE="glibc-locale"
4 VERSION="2.7"
5 CATEGORY="system-tools"
6 SHORT_DESC="The GNU C libraries locale files (see also locale-*)."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="glibc-base"
9 WANTED="glibc"
10 WEB_SITE="http://www.gnu.org/software/libc/"
11 SOURCES="glibc"
13 # Rules to gen a SliTaz package suitable for Tazpkg.
14 #
15 # This package provide glibc locale files and utility.
16 #
17 genpkg_rules()
18 {
19 mkdir -p $fs/usr/share $fs/usr/lib $fs/usr/bin
21 cp -a $_pkg/usr/lib/gconv $fs/usr/lib
22 cp -a $_pkg/usr/share/locale $fs/usr/share
23 cp -a $_pkg/usr/share/i18n $fs/usr/share
24 cp -a $_pkg/usr/share/zoneinfo $fs/usr/share
26 # Utilities and tools
27 cp -a $_pkg/usr/bin/localedef $fs/usr/bin
28 cp -a $_pkg/usr/bin/iconv $fs/usr/bin
29 cp -a $_pkg/usr/bin/tzselect $fs/usr/bin
31 # Rm base files.
32 echo -n "Removing all base files..."
33 for file in `cat $WOK/glibc-base/taz/glibc-base-$VERSION/files.list`
34 do
35 rm -f ${fs}$file
36 done
37 status
39 # Rm files provided by locale-pack.
40 for i in cs es fr ru
41 do
42 echo -n "* Removing locale: $i"
43 rm -rf $fs/usr/share/locale/$i
44 status
45 done
46 }