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