wok view squirrelmail-locales/receipt @ rev 24094

Add fasmg
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Aug 09 16:49:29 2021 +0000 (2021-08-09)
parents da0a38e4800e
children cb67b4f8be05
line source
1 # SliTaz package receipt.
3 PACKAGE="squirrelmail-locales"
4 VERSION="1.4.18-20090526"
5 CATEGORY="meta"
6 SHORT_DESC="All locales for squirrelmail."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://www.squirrelmail.org/"
11 SOURCE="all_locales"
12 TARBALL="$SOURCE-$VERSION.tar.bz2"
13 WGET_URL="$SF_MIRROR/squirrelmail/$TARBALL"
15 DEPENDS="squirrelmail-ar \
16 squirrelmail-bg_BG \
17 squirrelmail-bn_IN \
18 squirrelmail-ca_ES \
19 squirrelmail-cs_CZ \
20 squirrelmail-cy_GB \
21 squirrelmail-da_DK \
22 squirrelmail-de_DE \
23 squirrelmail-el_GR \
24 squirrelmail-es_ES \
25 squirrelmail-et_EE \
26 squirrelmail-eu_ES \
27 squirrelmail-fa_IR \
28 squirrelmail-fi_FI \
29 squirrelmail-fo_FO \
30 squirrelmail-fr_FR \
31 squirrelmail-fy \
32 squirrelmail-he_IL \
33 squirrelmail-hr_HR \
34 squirrelmail-hu_HU \
35 squirrelmail-id_ID \
36 squirrelmail-is_IS \
37 squirrelmail-it_IT \
38 squirrelmail-ja_JP \
39 squirrelmail-ka \
40 squirrelmail-ko_KR \
41 squirrelmail-lt_LT \
42 squirrelmail-ms_MY \
43 squirrelmail-nb_NO \
44 squirrelmail-nl_NL \
45 squirrelmail-nn_NO \
46 squirrelmail-pl_PL \
47 squirrelmail-pt_BR \
48 squirrelmail-pt_PT \
49 squirrelmail-ro_RO \
50 squirrelmail-ru_RU \
51 squirrelmail-sk_SK \
52 squirrelmail-sl_SI \
53 squirrelmail-sr_YU \
54 squirrelmail-sv_SE \
55 squirrelmail-tr_TR \
56 squirrelmail-ug \
57 squirrelmail-uk_UA \
58 squirrelmail-zh_CN \
59 squirrelmail-zh_TW \
60 "
62 HOST_ARCH="any"
64 current_version()
65 {
66 wget -O - https://sourceforge.net/projects/squirrelmail/files/locales/ 2>/dev/null | \
67 sed '/scope="row"/!d;s|.*locales/||;s|/.*||;q'
68 }
70 compile_rules()
71 {
72 [ -d $src ] || mkdir $src
73 for i in *
74 do
75 case "$i" in
76 receipt|taz|process.log|$(basename $src));;
77 *) mv -f $i $src;;
78 esac
79 done
80 [ -e $PACKAGE-$VERSION ] || ln -s $(basename $src) $PACKAGE-$VERSION
81 }
83 # Rules to gen a SliTaz package suitable for Tazpkg.
84 genpkg_rules()
85 {
86 mkdir -p $fs/usr/share/squirrelmail/locale
87 }
89 clean_wok()
90 {
91 rm -f $PACKAGE-$VERSION
92 }