wok-6.x rev 10784

locale-*: we dont source other receipt anymore (save 4 lines by receipt!)
author Christophe Lincoln <pankso@slitaz.org>
date Wed Jun 01 13:55:51 2011 +0200 (2011-06-01)
parents a4bc0aff568e
children a4dc7e2acfab
files locale-cs/receipt locale-da/receipt locale-de/receipt locale-es/receipt locale-fr/receipt locale-hu/receipt locale-id/receipt locale-it/receipt locale-pt/receipt locale-pt_BR/receipt locale-ru/receipt locale-sl/receipt locale-sv/receipt locale-zh_TW/receipt
line diff
     1.1 --- a/locale-cs/receipt	Wed Jun 01 13:54:49 2011 +0200
     1.2 +++ b/locale-cs/receipt	Wed Jun 01 13:55:51 2011 +0200
     1.3 @@ -18,13 +18,9 @@
     1.4  {
     1.5  	. $WOK/slitaz-i18n/stuff/locale-pack.functions
     1.6  	. $WOK/slitaz-i18n/stuff/locale-pack.conf
     1.7 -	PKG_NAME="$PACKAGE"
     1.8 -	PKG_VERS="$VERSION"
     1.9  	mk_locale_dir
    1.10  	get_slitaz_messages
    1.11  	get_core_messages
    1.12 -	PACKAGE="$PKG_NAME"
    1.13 -	VERSION="$PKG_VERS"
    1.14  	# Pregenerate locale file so we dont need glibc-locale as dep.
    1.15  	mkdir -p $fs/usr/lib/locale
    1.16  	localedef -i $LOCALEDEF -c -f $CHARMAP $fs/usr/lib/locale/$LOCALEDEF
     2.1 --- a/locale-da/receipt	Wed Jun 01 13:54:49 2011 +0200
     2.2 +++ b/locale-da/receipt	Wed Jun 01 13:55:51 2011 +0200
     2.3 @@ -18,13 +18,9 @@
     2.4  {
     2.5  	. $WOK/slitaz-i18n/stuff/locale-pack.functions
     2.6  	. $WOK/slitaz-i18n/stuff/locale-pack.conf
     2.7 -	PKG_NAME="$PACKAGE"
     2.8 -	PKG_VERS="$VERSION"
     2.9  	mk_locale_dir
    2.10  	get_slitaz_messages
    2.11  	get_core_messages
    2.12 -	PACKAGE="$PKG_NAME"
    2.13 -	VERSION="$PKG_VERS"
    2.14  	# Pregenerate locale file so we dont need glibc-locale as dep.
    2.15  	mkdir -p $fs/usr/lib/locale
    2.16  	localedef -i $LOCALEDEF -c -f $CHARMAP $fs/usr/lib/locale/$LOCALEDEF
     3.1 --- a/locale-de/receipt	Wed Jun 01 13:54:49 2011 +0200
     3.2 +++ b/locale-de/receipt	Wed Jun 01 13:55:51 2011 +0200
     3.3 @@ -18,13 +18,9 @@
     3.4  {
     3.5  	. $WOK/slitaz-i18n/stuff/locale-pack.functions
     3.6  	. $WOK/slitaz-i18n/stuff/locale-pack.conf
     3.7 -	PKG_NAME="$PACKAGE"
     3.8 -	PKG_VERS="$VERSION"
     3.9  	mk_locale_dir
    3.10  	get_slitaz_messages
    3.11  	get_core_messages
    3.12 -	PACKAGE="$PKG_NAME"
    3.13 -	VERSION="$PKG_VERS"
    3.14  }
    3.15  
    3.16  # Back to C if it's the last used locale.
     4.1 --- a/locale-es/receipt	Wed Jun 01 13:54:49 2011 +0200
     4.2 +++ b/locale-es/receipt	Wed Jun 01 13:55:51 2011 +0200
     4.3 @@ -18,13 +18,9 @@
     4.4  {
     4.5  	. $WOK/slitaz-i18n/stuff/locale-pack.functions
     4.6  	. $WOK/slitaz-i18n/stuff/locale-pack.conf
     4.7 -	PKG_NAME="$PACKAGE"
     4.8 -	PKG_VERS="$VERSION"
     4.9  	mk_locale_dir
    4.10  	get_slitaz_messages
    4.11  	get_core_messages
    4.12 -	PACKAGE="$PKG_NAME"
    4.13 -	VERSION="$PKG_VERS"
    4.14  }
    4.15  
    4.16  # Back to C if it's the last used locale.
     5.1 --- a/locale-fr/receipt	Wed Jun 01 13:54:49 2011 +0200
     5.2 +++ b/locale-fr/receipt	Wed Jun 01 13:55:51 2011 +0200
     5.3 @@ -18,13 +18,9 @@
     5.4  {
     5.5  	. $WOK/slitaz-i18n/stuff/locale-pack.functions
     5.6  	. $WOK/slitaz-i18n/stuff/locale-pack.conf
     5.7 -	PKG_NAME="$PACKAGE"
     5.8 -	PKG_VERS="$VERSION"
     5.9  	mk_locale_dir
    5.10  	get_slitaz_messages
    5.11  	get_core_messages
    5.12 -	PACKAGE="$PKG_NAME"
    5.13 -	VERSION="$PKG_VERS"
    5.14  }
    5.15  
    5.16  # Back to C if it's the last used locale.
     6.1 --- a/locale-hu/receipt	Wed Jun 01 13:54:49 2011 +0200
     6.2 +++ b/locale-hu/receipt	Wed Jun 01 13:55:51 2011 +0200
     6.3 @@ -18,13 +18,9 @@
     6.4  {
     6.5  	. $WOK/slitaz-i18n/stuff/locale-pack.functions
     6.6  	. $WOK/slitaz-i18n/stuff/locale-pack.conf
     6.7 -	PKG_NAME="$PACKAGE"
     6.8 -	PKG_VERS="$VERSION"
     6.9  	mk_locale_dir
    6.10  	get_slitaz_messages
    6.11  	get_core_messages
    6.12 -	PACKAGE="$PKG_NAME"
    6.13 -	VERSION="$PKG_VERS"
    6.14  	# Pregenerate locale file so we dont need glibc-locale as dep.
    6.15  	mkdir -p $fs/usr/lib/locale
    6.16  	localedef -i $LOCALEDEF -c -f $CHARMAP $fs/usr/lib/locale/$LOCALEDEF
     7.1 --- a/locale-id/receipt	Wed Jun 01 13:54:49 2011 +0200
     7.2 +++ b/locale-id/receipt	Wed Jun 01 13:55:51 2011 +0200
     7.3 @@ -18,13 +18,9 @@
     7.4  {	
     7.5  	. $WOK/slitaz-i18n/stuff/locale-pack.functions
     7.6  	. $WOK/slitaz-i18n/stuff/locale-pack.conf
     7.7 -	PKG_NAME="$PACKAGE"
     7.8 -	PKG_VERS="$VERSION"
     7.9  	mk_locale_dir
    7.10  	get_slitaz_messages
    7.11  	get_core_messages
    7.12 -	PACKAGE="$PKG_NAME"
    7.13 -	VERSION="$PKG_VERS"
    7.14  	# Pregenerate locale file so we dont need glibc-locale as dep.
    7.15  	mkdir -p $fs/usr/lib/locale
    7.16  	localedef -i $LOCALEDEF -c -f $CHARMAP $fs/usr/lib/locale/$LOCALEDEF
     8.1 --- a/locale-it/receipt	Wed Jun 01 13:54:49 2011 +0200
     8.2 +++ b/locale-it/receipt	Wed Jun 01 13:55:51 2011 +0200
     8.3 @@ -18,13 +18,9 @@
     8.4  {
     8.5  	. $WOK/slitaz-i18n/stuff/locale-pack.functions
     8.6  	. $WOK/slitaz-i18n/stuff/locale-pack.conf
     8.7 -	PKG_NAME="$PACKAGE"
     8.8 -	PKG_VERS="$VERSION"
     8.9  	mk_locale_dir
    8.10  	get_slitaz_messages
    8.11  	get_core_messages
    8.12 -	PACKAGE="$PKG_NAME"
    8.13 -	VERSION="$PKG_VERS"
    8.14  }
    8.15  
    8.16  # Back to C if it's the last used locale.
     9.1 --- a/locale-pt/receipt	Wed Jun 01 13:54:49 2011 +0200
     9.2 +++ b/locale-pt/receipt	Wed Jun 01 13:55:51 2011 +0200
     9.3 @@ -18,13 +18,9 @@
     9.4  {
     9.5  	. $WOK/slitaz-i18n/stuff/locale-pack.functions
     9.6  	. $WOK/slitaz-i18n/stuff/locale-pack.conf
     9.7 -	PKG_NAME="$PACKAGE"
     9.8 -	PKG_VERS="$VERSION"
     9.9  	mk_locale_dir
    9.10  	get_slitaz_messages
    9.11  	get_core_messages
    9.12 -	PACKAGE="$PKG_NAME"
    9.13 -	VERSION="$PKG_VERS"
    9.14  	# Pregenerate locale file so we dont need glibc-locale as dep.
    9.15  	mkdir -p $fs/usr/lib/locale
    9.16  	localedef -i $LOCALEDEF -c -f $CHARMAP $fs/usr/lib/locale/$LOCALEDEF
    10.1 --- a/locale-pt_BR/receipt	Wed Jun 01 13:54:49 2011 +0200
    10.2 +++ b/locale-pt_BR/receipt	Wed Jun 01 13:55:51 2011 +0200
    10.3 @@ -2,7 +2,7 @@
    10.4  
    10.5  PACKAGE="locale-pt_BR"
    10.6  VERSION="1.2"
    10.7 -CATEGORY="meta"
    10.8 +CATEGORY="system-tools"
    10.9  SHORT_DESC="Portuguese/Brazilian locale pack."
   10.10  MAINTAINER="pankso@slitaz.org"
   10.11  DEPENDS="locale-pt"
   10.12 @@ -17,11 +17,7 @@
   10.13  {
   10.14  	. $WOK/slitaz-i18n/stuff/locale-pack.functions
   10.15  	. $WOK/slitaz-i18n/stuff/locale-pack.conf
   10.16 -	PKG_NAME="$PACKAGE"
   10.17 -	PKG_VERS="$VERSION"
   10.18  	mk_locale_dir
   10.19  	get_slitaz_messages
   10.20  	get_core_messages
   10.21 -	PACKAGE="$PKG_NAME"
   10.22 -	VERSION="$PKG_VERS"
   10.23  }
    11.1 --- a/locale-ru/receipt	Wed Jun 01 13:54:49 2011 +0200
    11.2 +++ b/locale-ru/receipt	Wed Jun 01 13:55:51 2011 +0200
    11.3 @@ -18,13 +18,9 @@
    11.4  {
    11.5  	. $WOK/slitaz-i18n/stuff/locale-pack.functions
    11.6  	. $WOK/slitaz-i18n/stuff/locale-pack.conf
    11.7 -	PKG_NAME="$PACKAGE"
    11.8 -	PKG_VERS="$VERSION"
    11.9  	mk_locale_dir
   11.10  	get_slitaz_messages
   11.11  	get_core_messages
   11.12 -	PACKAGE="$PKG_NAME"
   11.13 -	VERSION="$PKG_VERS"
   11.14  }
   11.15  
   11.16  # Back to C if it's the last used locale.
    12.1 --- a/locale-sl/receipt	Wed Jun 01 13:54:49 2011 +0200
    12.2 +++ b/locale-sl/receipt	Wed Jun 01 13:55:51 2011 +0200
    12.3 @@ -18,13 +18,9 @@
    12.4  {
    12.5  	. $WOK/slitaz-i18n/stuff/locale-pack.functions
    12.6  	. $WOK/slitaz-i18n/stuff/locale-pack.conf
    12.7 -	PKG_NAME="$PACKAGE"
    12.8 -	PKG_VERS="$VERSION"
    12.9  	mk_locale_dir
   12.10  	get_slitaz_messages
   12.11  	get_core_messages
   12.12 -	PACKAGE="$PKG_NAME"
   12.13 -	VERSION="$PKG_VERS"
   12.14  }
   12.15  
   12.16  # Back to C if it's the last used locale.
    13.1 --- a/locale-sv/receipt	Wed Jun 01 13:54:49 2011 +0200
    13.2 +++ b/locale-sv/receipt	Wed Jun 01 13:55:51 2011 +0200
    13.3 @@ -18,13 +18,9 @@
    13.4  {
    13.5  	. $WOK/slitaz-i18n/stuff/locale-pack.functions
    13.6  	. $WOK/slitaz-i18n/stuff/locale-pack.conf
    13.7 -	PKG_NAME="$PACKAGE"
    13.8 -	PKG_VERS="$VERSION"
    13.9  	mk_locale_dir
   13.10  	get_slitaz_messages
   13.11  	get_core_messages
   13.12 -	PACKAGE="$PKG_NAME"
   13.13 -	VERSION="$PKG_VERS"
   13.14  	# Pregenerate locale file so we dont need glibc-locale as dep.
   13.15  	mkdir -p $fs/usr/lib/locale
   13.16  	localedef -i $LOCALEDEF -c -f $CHARMAP $fs/usr/lib/locale/$LOCALEDEF
    14.1 --- a/locale-zh_TW/receipt	Wed Jun 01 13:54:49 2011 +0200
    14.2 +++ b/locale-zh_TW/receipt	Wed Jun 01 13:55:51 2011 +0200
    14.3 @@ -19,13 +19,9 @@
    14.4  {
    14.5  	. $WOK/slitaz-i18n/stuff/locale-pack.functions
    14.6  	. $WOK/slitaz-i18n/stuff/locale-pack.conf
    14.7 -	PKG_NAME="$PACKAGE"
    14.8 -	PKG_VERS="$VERSION"
    14.9  	mk_locale_dir
   14.10  	get_slitaz_messages
   14.11  	get_core_messages
   14.12 -	PACKAGE="$PKG_NAME"
   14.13 -	VERSION="$PKG_VERS"
   14.14  	# Pregenerate locale file so we dont need glibc-locale as dep.
   14.15  	mkdir -p $fs/usr/lib/locale
   14.16  	localedef -i $LOCALEDEF -c -f $CHARMAP $fs/usr/lib/locale/$LOCALEDEF