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

use gcc49-lib-base for openldap-dev
author Stanislas Leduc <shann@slitaz.org>
date Fri Sep 01 12:04:33 2023 +0000 (16 months ago)
parents 206b8d93b625
children a23978bfa665
line source
1 # SliTaz package receipt.
3 PACKAGE="glibc-locale"
4 VERSION="2.21"
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 }