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