wok view glibc-locale/receipt @ rev 25794

created recipe for exo-lang
author Hans-G?nter Theisgen
date Wed Oct 23 16:19:52 2024 +0100 (4 weeks ago)
parents 380ffe05937a
children
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 }