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