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

Up openssl 1.1.1n (bump packages curl, git, wget, python), up cherokee 1.2.104 and bdeps (automake, openldap, cyrus-sasl)
author Stanislas Leduc <shann@slitaz.org>
date Sun Apr 02 14:34:44 2023 +0000 (20 months ago)
parents d97d1f60fc46
children
line source
1 # SliTaz package receipt.
3 PACKAGE="glibc-locale"
4 VERSION="2.22"
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"
9 WANTED="glibc"
10 WEB_SITE="http://www.gnu.org/software/libc/"
12 LOCALE_PACK="cs de es fr hu id it pt ru sl zh_CN zh_TW"
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/iconv $fs/usr/bin
26 cp -a $_pkg/usr/bin/tzselect $fs/usr/bin
28 # Rm base files.
29 echo -n "* Removing all base files..."
30 for file in `cat $WOK/glibc-base/taz/glibc-base-$VERSION/files.list`
31 do
32 rm -f ${fs}$file
33 done
34 status
36 # Rm glibc-extra-samba files.
37 echo -n "* Removing extra samba files..."
38 for file in `cat $WOK/glibc-extra-samba/taz/glibc-extra-samba-$VERSION/files.list`
39 do
40 rm -f ${fs}$file
41 done
42 status
44 # Rm files provided by locale-pack.
45 for i in $LOCALE_PACK
46 do
47 echo -n "* Removing locale: $i"
48 rm -rf $fs/usr/share/locale/$i
49 status
50 done
51 }