wok-stable diff squirrelmail-locales/receipt @ rev 8238

busybox: remove revision in stuff files
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jan 27 12:11:34 2011 +0100 (2011-01-27)
parents
children 38221d75846c
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/squirrelmail-locales/receipt	Thu Jan 27 12:11:34 2011 +0100
     1.3 @@ -0,0 +1,87 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="squirrelmail-locales"
     1.7 +VERSION="1.4.13-20071220"
     1.8 +CATEGORY="meta"
     1.9 +SHORT_DESC="ALL locales for Web mail."
    1.10 +MAINTAINER="pascal.bellard@slitaz.org"
    1.11 +SOURCE="all_locales"
    1.12 +TARBALL="$SOURCE-$VERSION.tar.bz2"
    1.13 +WEB_SITE="http://www.squirrelmail.org/"
    1.14 +WGET_URL="$SF_MIRROR/squirrelmail/$TARBALL"
    1.15 +DEPENDS="squirrelmail-ar \
    1.16 +squirrelmail-bg_BG \
    1.17 +squirrelmail-bn_IN \
    1.18 +squirrelmail-ca_ES \
    1.19 +squirrelmail-cs_CZ \
    1.20 +squirrelmail-cy_GB \
    1.21 +squirrelmail-da_DK \
    1.22 +squirrelmail-de_DE \
    1.23 +squirrelmail-el_GR \
    1.24 +squirrelmail-en_GB \
    1.25 +squirrelmail-es_ES \
    1.26 +squirrelmail-et_EE \
    1.27 +squirrelmail-eu_ES \
    1.28 +squirrelmail-fa_IR \
    1.29 +squirrelmail-fi_FI \
    1.30 +squirrelmail-fo_FO \
    1.31 +squirrelmail-fr_FR \
    1.32 +squirrelmail-fy \
    1.33 +squirrelmail-he_IL \
    1.34 +squirrelmail-hr_HR \
    1.35 +squirrelmail-hu_HU \
    1.36 +squirrelmail-id_ID \
    1.37 +squirrelmail-is_IS \
    1.38 +squirrelmail-it_IT \
    1.39 +squirrelmail-ja_JP \
    1.40 +squirrelmail-ka \
    1.41 +squirrelmail-ko_KR \
    1.42 +squirrelmail-lt_LT \
    1.43 +squirrelmail-ms_MY \
    1.44 +squirrelmail-nb_NO \
    1.45 +squirrelmail-nl_NL \
    1.46 +squirrelmail-nn_NO \
    1.47 +squirrelmail-pl_PL \
    1.48 +squirrelmail-pt_BR \
    1.49 +squirrelmail-pt_PT \
    1.50 +squirrelmail-ro_RO \
    1.51 +squirrelmail-ru_RU \
    1.52 +squirrelmail-sk_SK \
    1.53 +squirrelmail-sl_SI \
    1.54 +squirrelmail-sr_YU \
    1.55 +squirrelmail-sv_SE \
    1.56 +squirrelmail-tr_TR \
    1.57 +squirrelmail-ug \
    1.58 +squirrelmail-uk_UA \
    1.59 +squirrelmail-zh_CN \
    1.60 +squirrelmail-zh_TW \
    1.61 +"
    1.62 +
    1.63 +compile_rules()
    1.64 +{
    1.65 +	[ -d $src ] || mkdir $src
    1.66 +	for i in *; do
    1.67 +		case "$i" in
    1.68 +		receipt|taz|process.log|$(basename $src));;
    1.69 +		*) mv -f $i $src;;
    1.70 +		esac
    1.71 +	done
    1.72 +	[ -e $PACKAGE-$VERSION ] || ln -s $(basename $src) $PACKAGE-$VERSION
    1.73 +}
    1.74 +
    1.75 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.76 +genpkg_rules()
    1.77 +{
    1.78 +	mkdir -p $fs/usr/share/squirrelmail/locale
    1.79 +	# Package all squirrelmail locale pkgs
    1.80 +	for i in $(cd $WOK; grep -l '^WANTED="squirrelmail-locales"$' \
    1.81 +			squirrelmail-*/receipt)
    1.82 +	do
    1.83 +		tazwok genpkg ${i%/receipt}
    1.84 +	done
    1.85 +}
    1.86 +
    1.87 +clean_wok()
    1.88 +{
    1.89 +	rm -f $PACKAGE-$VERSION
    1.90 +}