wok view glibc-locale/receipt @ rev 2098

Add: aspell
author Paul Issott <paul@slitaz.org>
date Wed Jan 28 19:56:00 2009 +0000 (2009-01-28)
parents 585bd52eb85b
children 4a057e1fc620
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 de cs es fr ru id it pt_BR
41 do
42 echo -n "* Removing locale: $i"
43 rm -rf $fs/usr/share/locale/$i
44 status
45 done
46 }