wok-next view glibc-locale/receipt @ rev 2729
Add: libsoup, libsoup-dev
author | Rohit Joshi <jozee@slitaz.org> |
---|---|
date | Fri Apr 24 07:34:16 2009 +0000 (2009-04-24) |
parents | 8d131e7b79c2 |
children | ab6f0fde903d |
line source
1 # SliTaz package receipt.
3 PACKAGE="glibc-locale"
4 VERSION="2.9"
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"
9 WANTED="glibc"
10 WEB_SITE="http://www.gnu.org/software/libc/"
11 SOURCES="glibc"
13 LOCALE_PACK="de cs es fr ru id it pt_BR hu"
15 # Rules to gen a SliTaz package suitable for Tazpkg.
16 genpkg_rules()
17 {
18 mkdir -p $fs/usr/share $fs/usr/lib $fs/usr/bin
20 cp -a $_pkg/usr/lib/gconv $fs/usr/lib
21 cp -a $_pkg/usr/share/locale $fs/usr/share
22 cp -a $_pkg/usr/share/i18n $fs/usr/share
23 cp -a $_pkg/usr/share/zoneinfo $fs/usr/share
25 # Utilities and tools
26 cp -a $_pkg/usr/bin/localedef $fs/usr/bin
27 cp -a $_pkg/usr/bin/iconv $fs/usr/bin
28 cp -a $_pkg/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 }