wok-next view glibc-locale/receipt @ rev 19588
Update all the SliTaz projects (hosted on hg.slitaz.org).
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Jan 21 11:18:06 2017 +0200 (2017-01-21) |
parents | 9b7c1ea86466 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="glibc-locale"
4 VERSION="2.24"
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 WANTED="glibc"
12 DEPENDS="glibc-base"
13 BUILD_DEPENDS="slitaz-i18n"
15 # Rules to gen a SliTaz package suitable for Tazpkg.
16 genpkg_rules()
17 {
18 cook_copy_folders gconv locale i18n
19 cook_copy_files iconv tzselect
21 # Rm base files.
22 action "* Removing all base files..."
23 for file in $(cat $WOK/glibc-base/taz/glibc-base-$VERSION/files.list); do
24 rm -f ${fs}$file
25 done
26 status
28 # Rm files provided by locale-pack.
29 . $WOK/slitaz-i18n/stuff/locale-pack.conf
30 echo -n "* Removing locale: "
31 for i in $LOCALE_PACK; do
32 echo -n "$i "
33 rm -rf $fs/usr/share/locale/$i
34 done
35 status
36 }