wok-next annotate squirrelmail-locales/receipt @ rev 5194

Up: slitaz-base-files (3.2) Wok have now a 3.0 version string
author Christophe Lincoln <pankso@slitaz.org>
date Sun Mar 28 15:43:04 2010 +0200 (2010-03-28)
parents
children 38221d75846c
rev   line source
pascal@1198 1 # SliTaz package receipt.
pascal@1198 2
pascal@1198 3 PACKAGE="squirrelmail-locales"
pascal@1198 4 VERSION="1.4.13-20071220"
pascal@1198 5 CATEGORY="meta"
pascal@1198 6 SHORT_DESC="ALL locales for Web mail."
pascal@1198 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@1198 8 SOURCE="all_locales"
pascal@1198 9 TARBALL="$SOURCE-$VERSION.tar.bz2"
pascal@1198 10 WEB_SITE="http://www.squirrelmail.org/"
pascal@1198 11 WGET_URL="$SF_MIRROR/squirrelmail/$TARBALL"
pascal@1198 12 DEPENDS="squirrelmail-ar \
pascal@1198 13 squirrelmail-bg_BG \
pascal@1198 14 squirrelmail-bn_IN \
pascal@1198 15 squirrelmail-ca_ES \
pascal@1198 16 squirrelmail-cs_CZ \
pascal@1198 17 squirrelmail-cy_GB \
pascal@1198 18 squirrelmail-da_DK \
pascal@1198 19 squirrelmail-de_DE \
pascal@1198 20 squirrelmail-el_GR \
pascal@1198 21 squirrelmail-en_GB \
pascal@1198 22 squirrelmail-es_ES \
pascal@1198 23 squirrelmail-et_EE \
pascal@1198 24 squirrelmail-eu_ES \
pascal@1198 25 squirrelmail-fa_IR \
pascal@1198 26 squirrelmail-fi_FI \
pascal@1198 27 squirrelmail-fo_FO \
pascal@1198 28 squirrelmail-fr_FR \
pascal@1198 29 squirrelmail-fy \
pascal@1198 30 squirrelmail-he_IL \
pascal@1198 31 squirrelmail-hr_HR \
pascal@1198 32 squirrelmail-hu_HU \
pascal@1198 33 squirrelmail-id_ID \
pascal@1198 34 squirrelmail-is_IS \
pascal@1198 35 squirrelmail-it_IT \
pascal@1198 36 squirrelmail-ja_JP \
pascal@1198 37 squirrelmail-ka \
pascal@1198 38 squirrelmail-ko_KR \
pascal@1198 39 squirrelmail-lt_LT \
pascal@1198 40 squirrelmail-ms_MY \
pascal@1198 41 squirrelmail-nb_NO \
pascal@1198 42 squirrelmail-nl_NL \
pascal@1198 43 squirrelmail-nn_NO \
pascal@1198 44 squirrelmail-pl_PL \
pascal@1198 45 squirrelmail-pt_BR \
pascal@1198 46 squirrelmail-pt_PT \
pascal@1198 47 squirrelmail-ro_RO \
pascal@1198 48 squirrelmail-ru_RU \
pascal@1198 49 squirrelmail-sk_SK \
pascal@1198 50 squirrelmail-sl_SI \
pascal@1198 51 squirrelmail-sr_YU \
pascal@1198 52 squirrelmail-sv_SE \
pascal@1198 53 squirrelmail-tr_TR \
pascal@1198 54 squirrelmail-ug \
pascal@1198 55 squirrelmail-uk_UA \
pascal@1198 56 squirrelmail-zh_CN \
pascal@1198 57 squirrelmail-zh_TW \
pascal@1198 58 "
pascal@1198 59
pascal@1198 60 compile_rules()
pascal@1198 61 {
pascal@1198 62 [ -d $src ] || mkdir $src
pascal@1198 63 for i in *; do
pascal@1198 64 case "$i" in
pascal@1198 65 receipt|taz|process.log|$(basename $src));;
pascal@1198 66 *) mv -f $i $src;;
pascal@1198 67 esac
pascal@1198 68 done
pascal@1198 69 [ -e $PACKAGE-$VERSION ] || ln -s $(basename $src) $PACKAGE-$VERSION
pascal@1198 70 }
pascal@1198 71
pascal@1198 72 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@1198 73 genpkg_rules()
pascal@1198 74 {
pascal@1198 75 mkdir -p $fs/usr/share/squirrelmail/locale
pascal@1198 76 # Package all squirrelmail locale pkgs
pascal@1198 77 for i in $(cd $WOK; grep -l '^WANTED="squirrelmail-locales"$' \
pascal@1198 78 squirrelmail-*/receipt)
pascal@1198 79 do
pascal@1198 80 tazwok genpkg ${i%/receipt}
pascal@1198 81 done
pascal@1198 82 }
pascal@1198 83
pascal@1198 84 clean_wok()
pascal@1198 85 {
pascal@1198 86 rm -f $PACKAGE-$VERSION
pascal@1198 87 }