wok view glibc-locale/receipt @ rev 550
Up: osmo (0.2.0)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat Apr 12 20:17:59 2008 +0200 (2008-04-12) |
parents | |
children | ab8b4e288bc8 |
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 locale-cs locale-es locale-ru"
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
25 # Utilities and tools
26 cp -a $_pkg/usr/bin/localedef $fs/usr/bin
27 cp -a $_pkg/usr/bin/iconv $fs/usr/bin
28 cp -a $_pkg/usr/bin/tzselect $fs/usr/bin
30 # Rm base files.
31 echo -n "Removing all base files..."
32 for file in `cat $WOK/glibc-base/taz/glibc-base-$VERSION/files.list`
33 do
34 rm -f ${fs}$file
35 done
36 status
38 # Rm files provided by locale-pack.
40 # cs
41 rm -f $fs/usr/share/i18n/locales/cs_CZ
42 rm -rf $fs/usr/share/locale/cs
43 # es
44 rm -f $fs/usr/share/i18n/locales/es_ES
45 rm -rf $fs/usr/share/locale/es
46 # ru
47 rm -f $fs/usr/share/i18n/locales/ru_RU
48 rm -rf $fs/usr/share/locale/ru
49 rm -f $fs/usr/share/i18n/charmaps/KOI8-RU.gz
50 rm -f $fs/usr/lib/gconv/KOI8-RU.so
51 }