wok-current rev 10779
Add locale-pt_BR-extra locale-es-extra locale-de-extra locale-da
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Jun 01 01:51:42 2011 +0200 (2011-06-01) |
parents | d630cec00483 |
children | f094a25880c5 |
files | locale-da/receipt locale-de-extra/receipt locale-es-extra/receipt locale-pt-extra/receipt locale-pt_BR-extra/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/locale-da/receipt Wed Jun 01 01:51:42 2011 +0200 1.3 @@ -0,0 +1,41 @@ 1.4 +# SliTaz package receipt 1.5 + 1.6 +PACKAGE="locale-da" 1.7 +VERSION="4.0" 1.8 +CATEGORY="system-tools" 1.9 +SHORT_DESC="Danish locale pack." 1.10 +MAINTAINER="pankso@slitaz.org" 1.11 +DEPENDS="glibc-base" 1.12 +BUILD_DEPENDS="glibc glibc-locale slitaz-i18n" 1.13 +WEB_SITE="http://www.slitaz.org/" 1.14 + 1.15 +LOCALE="da" 1.16 +LOCALEDEF="da_DK" 1.17 +CHARMAP="UTF-8" 1.18 + 1.19 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.20 +genpkg_rules() 1.21 +{ 1.22 + . $WOK/slitaz-i18n/stuff/locale-pack.functions 1.23 + . $WOK/slitaz-i18n/stuff/locale-pack.conf 1.24 + PKG_NAME="$PACKAGE" 1.25 + PKG_VERS="$VERSION" 1.26 + mk_locale_dir 1.27 + get_slitaz_messages 1.28 + get_core_messages 1.29 + PACKAGE="$PKG_NAME" 1.30 + VERSION="$PKG_VERS" 1.31 + # Pregenerate locale file so we dont need glibc-locale as dep. 1.32 + mkdir -p $fs/usr/lib/locale 1.33 + localedef -i $LOCALEDEF -c -f $CHARMAP $fs/usr/lib/locale/$LOCALEDEF 1.34 +} 1.35 + 1.36 +# Back to C if it's the last used locale. 1.37 +post_remove() 1.38 +{ 1.39 + if grep -q $LOCALEDEF /etc/locale.conf; then 1.40 + echo "LANG=C" > /etc/locale.conf 1.41 + echo "LC_ALL=C" >> /etc/locale.conf 1.42 + fi 1.43 + rm -rf /usr/lib/locale/$LOCALEDEF 1.44 +}
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/locale-de-extra/receipt Wed Jun 01 01:51:42 2011 +0200 2.3 @@ -0,0 +1,19 @@ 2.4 +# SliTaz package receipt 2.5 + 2.6 +PACKAGE="locale-de-extra" 2.7 +VERSION="4.0" 2.8 +CATEGORY="system-tools" 2.9 +SHORT_DESC="German extra locale pack." 2.10 +MAINTAINER="pankso@slitaz.org" 2.11 +WEB_SITE="http://www.slitaz.org/" 2.12 + 2.13 +LOCALE="de" 2.14 + 2.15 +# Rules to gen a SliTaz package suitable for Tazpkg. 2.16 +genpkg_rules() 2.17 +{ 2.18 + . $WOK/slitaz-i18n-extra/stuff/locale-pack.functions 2.19 + . $WOK/slitaz-i18n-extra/stuff/locale-pack.conf 2.20 + mk_locale_dir 2.21 + get_extra_messages 2.22 +}
3.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 3.2 +++ b/locale-es-extra/receipt Wed Jun 01 01:51:42 2011 +0200 3.3 @@ -0,0 +1,21 @@ 3.4 +# SliTaz package receipt 3.5 + 3.6 +PACKAGE="locale-es-extra" 3.7 +VERSION="4.0" 3.8 +CATEGORY="system-tools" 3.9 +SHORT_DESC="Spanish extra locale pack." 3.10 +MAINTAINER="pankso@slitaz.org" 3.11 +WEB_SITE="http://www.slitaz.org/" 3.12 +DEPENDS="locale-es" 3.13 +BUILD_DEPENDS="slitaz-i18n-extra" 3.14 + 3.15 +LOCALE="es" 3.16 + 3.17 +# Rules to gen a SliTaz package suitable for Tazpkg. 3.18 +genpkg_rules() 3.19 +{ 3.20 + . $WOK/slitaz-i18n-extra/stuff/locale-pack.functions 3.21 + . $WOK/slitaz-i18n-extra/stuff/locale-pack.conf 3.22 + mk_locale_dir 3.23 + get_extra_messages 3.24 +}
4.1 --- a/locale-pt-extra/receipt Wed Jun 01 01:50:07 2011 +0200 4.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 4.3 @@ -1,22 +0,0 @@ 4.4 -# SliTaz package receipt 4.5 - 4.6 -PACKAGE="locale-pt-extra" 4.7 -VERSION="4.0" 4.8 -CATEGORY="system-tools" 4.9 -SHORT_DESC="Portuguese/Brazilian extra locale pack." 4.10 -MAINTAINER="pankso@slitaz.org" 4.11 -WEB_SITE="http://www.slitaz.org/" 4.12 - 4.13 -DEPENDS="locale-pt" 4.14 -BUILD_DEPENDS="slitaz-i18n-extra" 4.15 - 4.16 -LOCALE="pt" 4.17 - 4.18 -# Rules to gen a SliTaz package suitable for Tazpkg. 4.19 -genpkg_rules() 4.20 -{ 4.21 - . $WOK/slitaz-i18n-extra/stuff/locale-pack.functions 4.22 - . $WOK/slitaz-i18n-extra/stuff/locale-pack.conf 4.23 - mk_locale_dir 4.24 - get_extra_messages 4.25 -}
5.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 5.2 +++ b/locale-pt_BR-extra/receipt Wed Jun 01 01:51:42 2011 +0200 5.3 @@ -0,0 +1,21 @@ 5.4 +# SliTaz package receipt 5.5 + 5.6 +PACKAGE="locale-pt_BR-extra" 5.7 +VERSION="4.0" 5.8 +CATEGORY="system-tools" 5.9 +SHORT_DESC="Portuguese/Brazilian extra locale pack." 5.10 +MAINTAINER="pankso@slitaz.org" 5.11 +WEB_SITE="http://www.slitaz.org/" 5.12 +DEPENDS="locale-pt" 5.13 +BUILD_DEPENDS="slitaz-i18n-extra" 5.14 + 5.15 +LOCALE="pt_BR" 5.16 + 5.17 +# Rules to gen a SliTaz package suitable for Tazpkg. 5.18 +genpkg_rules() 5.19 +{ 5.20 + . $WOK/slitaz-i18n-extra/stuff/locale-pack.functions 5.21 + . $WOK/slitaz-i18n-extra/stuff/locale-pack.conf 5.22 + mk_locale_dir 5.23 + get_extra_messages 5.24 +}