wok-4.x view glibc-locale/receipt @ rev 608

Up: udev (120) - Admin centralised in udevadm
author Christophe Lincoln <pankso@slitaz.org>
date Fri Apr 18 16:41:52 2008 +0200 (2008-04-18)
parents e61c02d34bc6
children 585bd52eb85b
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 rm -rf $fs/usr/share/locale/$i
43 done
44 # Gconv files
45 rm -f $fs/usr/lib/gconv/KOI8-RU.so
46 }