wok-stable diff locale-id/receipt @ rev 2702
Up: locale-* (1.1) - Include more apps and use the last glibc
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Apr 22 18:26:22 2009 +0200 (2009-04-22) |
parents | 37105c976ab8 |
children | f3f6bcae6367 |
line diff
1.1 --- a/locale-id/receipt Sat Oct 11 21:19:51 2008 +0000 1.2 +++ b/locale-id/receipt Wed Apr 22 18:26:22 2009 +0200 1.3 @@ -1,7 +1,7 @@ 1.4 # SliTaz package receipt 1.5 1.6 PACKAGE="locale-id" 1.7 -VERSION="1.0" 1.8 +VERSION="1.1" 1.9 CATEGORY="system-tools" 1.10 SHORT_DESC="Indonesian locale pack." 1.11 MAINTAINER="pankso@slitaz.org" 1.12 @@ -9,16 +9,13 @@ 1.13 BUILD_DEPENDS="glibc glibc-locale" 1.14 WEB_SITE="http://www.slitaz.org/" 1.15 1.16 -CORE_PKGS="asunder epdfview gpicview gparted glib gtk+ leafpad pcmanfm xpad" 1.17 +CORE_PKGS="asunder alsaplayer epdfview galculator geany gpicview gparted \ 1.18 +glib gtk+ grsync leafpad lxpanel lxtask obconf openbox pcmanfm xpad" 1.19 1.20 LOCALE="id" 1.21 LOCALEDEF="id_ID" 1.22 CHARMAP="ISO-8859-1" 1.23 1.24 -GLIBC_FILES=$WOK/glibc/glibc-2.7/_pkg 1.25 -PKG_NAME="$PACKAGE" 1.26 -PKG_VERS="$VERSION" 1.27 - 1.28 # Rules to configure and make the package. 1.29 compile_rules() 1.30 { 1.31 @@ -30,30 +27,23 @@ 1.32 } 1.33 1.34 # Rules to gen a SliTaz package suitable for Tazpkg. 1.35 -# Install files in /usr/lib/locale. 1.36 -# 1.37 +# Genereted locale files are in /usr/lib/locale. 1.38 genpkg_rules() 1.39 { 1.40 - mkdir -p $fs/usr/share/locale/$LOCALE 1.41 - 1.42 - # Get the core apps messages. 1.43 + mkdir -p $fs/usr/share/locale/$LOCALE $fs/usr/lib/locale 1.44 + PKG_NAME="$PACKAGE" 1.45 + PKG_VERS="$VERSION" 1.46 + # Get the core packages messages. 1.47 for pkg in $CORE_PKGS 1.48 do 1.49 - . $WOK/$pkg/receipt 1.50 + [ -f $WOK/$pkg/receipt ] && . $WOK/$pkg/receipt 1.51 if [ -d $WOK/$pkg/$PACKAGE-$VERSION/_pkg/usr/share/locale/$LOCALE ]; then 1.52 cp -a $WOK/$pkg/$PACKAGE-$VERSION/_pkg/usr/share/locale/$LOCALE \ 1.53 $fs/usr/share/locale 1.54 fi 1.55 done 1.56 - 1.57 - # Glibc locale. 1.58 - #cp -a $GLIBC_FILES/usr/share/locale/$LOCALE $fs/usr/share/locale 1.59 - 1.60 PACKAGE="$PKG_NAME" 1.61 VERSION="$PKG_VERS" 1.62 - 1.63 - # Gen locale files. 1.64 - mkdir -p $fs/usr/lib/locale 1.65 localedef -i $LOCALEDEF -c -f $CHARMAP $fs/usr/lib/locale/$LOCALEDEF 1.66 } 1.67