# HG changeset patch # User Christophe Lincoln # Date 1306710774 -7200 # Node ID 6a16e4339314b9b19cfb0ce86388cfb0af564349 # Parent e63d22f12936129380aadd97e0e7b980e4158156 locale-*: we dont need compile rules any more since core pkgs are in slitaz-i18n bdeps diff -r e63d22f12936 -r 6a16e4339314 locale-cs/receipt --- a/locale-cs/receipt Mon May 30 00:54:30 2011 +0200 +++ b/locale-cs/receipt Mon May 30 01:12:54 2011 +0200 @@ -13,17 +13,6 @@ LOCALEDEF="cs_CZ" CHARMAP="UTF-8" -# Rules to configure and make the package. -compile_rules() -{ - . $WOK/slitaz-i18n/stuff/locale-pack.conf - # Ensure packages are built. - for pkg in $CORE_PKGS - do - [ -d $WOK/$pkg/taz ] || tazwok cook $pkg - done -} - # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { diff -r e63d22f12936 -r 6a16e4339314 locale-de/receipt --- a/locale-de/receipt Mon May 30 00:54:30 2011 +0200 +++ b/locale-de/receipt Mon May 30 01:12:54 2011 +0200 @@ -13,17 +13,6 @@ LOCALEDEF="de_DE" CHARMAP="UTF-8" -# Rules to configure and make the package. -compile_rules() -{ - . $WOK/slitaz-i18n/stuff/locale-pack.conf - # Ensure packages are built. - for pkg in $CORE_PKGS - do - [ -d $WOK/$pkg/taz ] || tazwok cook $pkg - done -} - # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { diff -r e63d22f12936 -r 6a16e4339314 locale-es/receipt --- a/locale-es/receipt Mon May 30 00:54:30 2011 +0200 +++ b/locale-es/receipt Mon May 30 01:12:54 2011 +0200 @@ -13,17 +13,6 @@ LOCALEDEF="es_ES" CHARMAP="UTF-8" -# Rules to configure and make the package. -compile_rules() -{ - . $WOK/slitaz-i18n/stuff/locale-pack.conf - # Ensure packages are built. - for pkg in $CORE_PKGS - do - [ -d $WOK/$pkg/taz ] || tazwok cook $pkg - done -} - # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { diff -r e63d22f12936 -r 6a16e4339314 locale-fr/receipt --- a/locale-fr/receipt Mon May 30 00:54:30 2011 +0200 +++ b/locale-fr/receipt Mon May 30 01:12:54 2011 +0200 @@ -13,17 +13,6 @@ LOCALEDEF="fr_FR" CHARMAP="UTF-8" -# Rules to configure and make the package. -compile_rules() -{ - . $WOK/slitaz-i18n/stuff/locale-pack.conf - # Ensure packages are built. - for pkg in $CORE_PKGS - do - [ -d $WOK/$pkg/taz ] || tazwok cook $pkg - done -} - # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { diff -r e63d22f12936 -r 6a16e4339314 locale-hu/receipt --- a/locale-hu/receipt Mon May 30 00:54:30 2011 +0200 +++ b/locale-hu/receipt Mon May 30 01:12:54 2011 +0200 @@ -13,17 +13,6 @@ LOCALEDEF="hu_HU" CHARMAP="UTF-8" -# Rules to configure and make the package. -compile_rules() -{ - . $WOK/slitaz-i18n/stuff/locale-pack.conf - # Ensure packages are built. - for pkg in $CORE_PKGS - do - [ -d $WOK/$pkg/taz ] || tazwok cook $pkg - done -} - # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { diff -r e63d22f12936 -r 6a16e4339314 locale-id/receipt --- a/locale-id/receipt Mon May 30 00:54:30 2011 +0200 +++ b/locale-id/receipt Mon May 30 01:12:54 2011 +0200 @@ -13,17 +13,6 @@ LOCALEDEF="id_ID" CHARMAP="UTF-8" -# Rules to configure and make the package. -compile_rules() -{ - . $WOK/slitaz-i18n/stuff/locale-pack.conf - # Ensure packages are built. - for pkg in $CORE_PKGS - do - [ -d $WOK/$pkg/taz ] || tazwok cook $pkg - done -} - # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { diff -r e63d22f12936 -r 6a16e4339314 locale-it/receipt --- a/locale-it/receipt Mon May 30 00:54:30 2011 +0200 +++ b/locale-it/receipt Mon May 30 01:12:54 2011 +0200 @@ -13,17 +13,6 @@ LOCALEDEF="it_IT" CHARMAP="UTF-8" -# Rules to configure and make the package. -compile_rules() -{ - . $WOK/slitaz-i18n/stuff/locale-pack.conf - # Ensure packages are built. - for pkg in $CORE_PKGS - do - [ -d $WOK/$pkg/taz ] || tazwok cook $pkg - done -} - # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { diff -r e63d22f12936 -r 6a16e4339314 locale-pt/receipt --- a/locale-pt/receipt Mon May 30 00:54:30 2011 +0200 +++ b/locale-pt/receipt Mon May 30 01:12:54 2011 +0200 @@ -13,17 +13,6 @@ LOCALEDEF="pt_BR" CHARMAP="UTF-8" -# Rules to configure and make the package. -compile_rules() -{ - . $WOK/slitaz-i18n/stuff/locale-pack.conf - # Ensure packages are built. - for pkg in $CORE_PKGS - do - [ -d $WOK/$pkg/taz ] || tazwok cook $pkg - done -} - # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { diff -r e63d22f12936 -r 6a16e4339314 locale-ru/receipt --- a/locale-ru/receipt Mon May 30 00:54:30 2011 +0200 +++ b/locale-ru/receipt Mon May 30 01:12:54 2011 +0200 @@ -13,17 +13,6 @@ LOCALEDEF="ru_RU" CHARMAP="UTF-8" -# Rules to configure and make the package. -compile_rules() -{ - . $WOK/slitaz-i18n/stuff/locale-pack.conf - # Ensure packages are built. - for pkg in $CORE_PKGS - do - [ -d $WOK/$pkg/taz ] || tazwok cook $pkg - done -} - # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { diff -r e63d22f12936 -r 6a16e4339314 locale-sl/receipt --- a/locale-sl/receipt Mon May 30 00:54:30 2011 +0200 +++ b/locale-sl/receipt Mon May 30 01:12:54 2011 +0200 @@ -13,17 +13,6 @@ LOCALEDEF="sl_SI" CHARMAP="UTF-8" -# Rules to configure and make the package. -compile_rules() -{ - . $WOK/slitaz-i18n/stuff/locale-pack.conf - # Ensure packages are built. - for pkg in $CORE_PKGS - do - [ -d $WOK/$pkg/taz ] || tazwok cook $pkg - done -} - # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { diff -r e63d22f12936 -r 6a16e4339314 locale-zh_TW/receipt --- a/locale-zh_TW/receipt Mon May 30 00:54:30 2011 +0200 +++ b/locale-zh_TW/receipt Mon May 30 01:12:54 2011 +0200 @@ -13,17 +13,6 @@ LOCALEDEF="zh_TW" CHARMAP="UTF-8" -# Rules to configure and make the package. -compile_rules() -{ - . $WOK/slitaz-i18n/stuff/locale-pack.conf - # Ensure packages are built. - for pkg in $CORE_PKGS - do - [ -d $WOK/$pkg/taz ] || tazwok cook $pkg - done -} - # Rules to gen a SliTaz package suitable for Tazpkg. # Genereted locale files are in /usr/lib/locale. genpkg_rules() diff -r e63d22f12936 -r 6a16e4339314 slitaz-i18n/stuff/locale-pack.functions --- a/slitaz-i18n/stuff/locale-pack.functions Mon May 30 00:54:30 2011 +0200 +++ b/slitaz-i18n/stuff/locale-pack.functions Mon May 30 01:12:54 2011 +0200 @@ -33,12 +33,11 @@ # Get the core packages messages. get_core_messages() { - - for pkg in $CORE_PKGS + for i in $CORE_PKGS do - [ -f $WOK/$pkg/receipt ] && . $WOK/$pkg/receipt - if [ -d $WOK/$pkg/install/usr/share/locale/$LOCALE ]; then - cp -a $WOK/$pkg/install/usr/share/locale/$LOCALE \ + [ -f $WOK/$i/receipt ] && . $WOK/$i/receipt + if [ -d $WOK/$i/install/usr/share/locale/$LOCALE ]; then + cp -a $WOK/$i/install/usr/share/locale/$LOCALE \ $fs/usr/share/locale fi done