wok view glibc-locale/receipt @ rev 2776
Up: mysql-test (5.0.77)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Apr 27 11:07:12 2009 +0200 (2009-04-27) |
parents | 4a057e1fc620 |
children | b30c937c2ca9 |
line source
1 # SliTaz package receipt.
3 PACKAGE="glibc-locale"
4 VERSION="2.9"
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 glibc-locale-utf8"
9 WANTED="glibc"
10 WEB_SITE="http://www.gnu.org/software/libc/"
12 LOCALE_PACK="de cs es fr ru id it pt_BR hu"
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/localedef $fs/usr/bin
26 cp -a $_pkg/usr/bin/iconv $fs/usr/bin
27 cp -a $_pkg/usr/bin/tzselect $fs/usr/bin
29 # Rm base files.
30 echo -n "Removing all base files..."
31 for file in `cat $WOK/glibc-base/taz/glibc-base-$VERSION/files.list`
32 do
33 rm -f ${fs}$file
34 done
35 status
37 # Rm glibc-extra-samba files.
38 echo -n "Removing all base files..."
39 for file in `cat $WOK/glibc-extra-samba/taz/glibc-extra-samba-$VERSION/files.list`
40 do
41 rm -f ${fs}$file
42 done
43 status
45 # Rm files provided by locale-pack.
46 for i in $LOCALE_PACK
47 do
48 echo -n "* Removing locale: $i"
49 rm -rf $fs/usr/share/locale/$i
50 status
51 done
52 }