wok-current view glibc-locale/receipt @ rev 23398

updated perl-test-mockobject (1.20180705 -> 1.20200122)
author Hans-G?nter Theisgen
date Tue Mar 31 17:30:03 2020 +0100 (2020-03-31)
parents 380ffe05937a
children 7d24d697015f
line source
1 # SliTaz package receipt.
3 PACKAGE="glibc-locale"
4 VERSION="2.14.1"
5 CATEGORY="system-tools"
6 SHORT_DESC="The GNU C libraries locale files and utilities (see also locale-*)."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://www.gnu.org/software/libc/"
11 DEPENDS="glibc-base"
12 WANTED="glibc"
14 LOCALE_PACK="cs de es fr hu id it pt ru sl zh_CN zh_TW"
16 # Rules to gen a SliTaz package suitable for Tazpkg.
17 genpkg_rules()
18 {
19 mkdir -p $fs/usr/share $fs/usr/lib $fs/usr/bin
21 cp -a $install/usr/lib/gconv $fs/usr/lib
22 cp -a $install/usr/share/locale $fs/usr/share
23 cp -a $install/usr/share/i18n $fs/usr/share
24 cp -a $install/usr/share/zoneinfo $fs/usr/share
26 # Utilities and tools
27 cp -a $install/usr/bin/iconv $fs/usr/bin
28 cp -a $install/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.
39 for i in $LOCALE_PACK
40 do
41 echo -n "* Removing locale: $i"
42 rm -rf $fs/usr/share/locale/$i
43 status
44 done
45 }