wok diff locale-zh_CN/receipt @ rev 10788

gtkdialog: remove example and desktop file
author Christophe Lincoln <pankso@slitaz.org>
date Wed Jun 01 19:42:36 2011 +0200 (2011-06-01)
parents 22b72b21a488
children ce3cb07f3afd
line diff
     1.1 --- a/locale-zh_CN/receipt	Sat Nov 27 17:06:15 2010 +0800
     1.2 +++ b/locale-zh_CN/receipt	Wed Jun 01 19:42:36 2011 +0200
     1.3 @@ -1,9 +1,7 @@
     1.4  # SliTaz package receipt
     1.5  
     1.6 -PACKED_SIZE="508K"
     1.7 -UNPACKED_SIZE="2.4M"
     1.8  PACKAGE="locale-zh_CN"
     1.9 -VERSION="2.0"
    1.10 +VERSION="4.0"
    1.11  CATEGORY="system-tools"
    1.12  SHORT_DESC="Chinese Simplified locale pack."
    1.13  MAINTAINER="lufeng369@slitaz.org"
    1.14 @@ -11,13 +9,10 @@
    1.15  BUILD_DEPENDS="glibc-locale xorg-libX11"
    1.16  WEB_SITE="http://www.slitaz.org/"
    1.17  
    1.18 -
    1.19 -
    1.20  LOCALE="zh_CN"
    1.21  LOCALEDEF="zh_CN"
    1.22  CHARMAP="UTF-8"
    1.23  
    1.24 -
    1.25  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.26  # Genereted locale files are in /usr/lib/locale.
    1.27  genpkg_rules()
    1.28 @@ -28,20 +23,23 @@
    1.29  	GCONV_MODULES="
    1.30  		BIG5.so             GBBIG5.so   GBGBK.so
    1.31  		UTF-32.so           GB18030.so	EUC-CN.so
    1.32 -		GBK.so              UTF-7.so		libGB.so"
    1.33 +		GBK.so              UTF-7.so	libGB.so"
    1.34  	mkdir -p $fs/usr/bin
    1.35  	mkdir -p $fs/usr/lib/gconv
    1.36  
    1.37 -
    1.38  	cp /usr/bin/iconv $fs/usr/bin
    1.39  	for i in $GCONV_MODULES; do
    1.40  		cp /usr/lib/gconv/$i $fs/usr/lib/gconv
    1.41  	done
    1.42  	
    1.43 -	install  -D /usr/share/zoneinfo/Asia/Shanghai $fs/usr/share/zoneinfo/Asia/Shanghai -m 644
    1.44 -	install  -D /usr/share/zoneinfo/posix/Asia/Shanghai $fs/usr/share/posix/zoneinfo/Asia/Shanghai -m 644
    1.45 -	install  -D /usr/share/zoneinfo/right/Asia/Shanghai $fs/usr/share/right/zoneinfo/Asia/Shanghai -m 644
    1.46 +	install  -D /usr/share/zoneinfo/Asia/Shanghai \
    1.47 +		$fs/usr/share/zoneinfo/Asia/Shanghai -m 644
    1.48 +	install  -D /usr/share/zoneinfo/posix/Asia/Shanghai \
    1.49 +		$fs/usr/share/posix/zoneinfo/Asia/Shanghai -m 644
    1.50 +	install  -D /usr/share/zoneinfo/right/Asia/Shanghai \
    1.51 +		$fs/usr/share/right/zoneinfo/Asia/Shanghai -m 644
    1.52  }
    1.53 +
    1.54  post_install()
    1.55  {
    1.56  	echo LANG=zh_CN.UTF-8 > /etc/locale.conf
    1.57 @@ -49,6 +47,7 @@
    1.58  	export TZ=Asia/Shanghai
    1.59  	hwclock --hctosys
    1.60  }
    1.61 +
    1.62  # Back to C if it's the last used locale.
    1.63  post_remove()
    1.64  {