wok-6.x annotate squirrelmail-zh_CN/receipt @ rev 23345
updated perl-http-message (6.03 -> 6.22)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Mar 31 09:19:52 2020 +0100 (2020-03-31) |
parents | 9e01bc6321ea |
children | cb67b4f8be05 |
rev | line source |
---|---|
pascal@1198 | 1 # SliTaz package receipt. |
pascal@1198 | 2 |
pascal@1198 | 3 PACKAGE="squirrelmail-zh_CN" |
Hans-G?nter@21959 | 4 VERSION="1.4.18-20090526" |
pascal@1411 | 5 CATEGORY="network" |
Hans-G?nter@21959 | 6 SHORT_DESC="Locale zh_CN for squirrelmail." |
pascal@1198 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15200 | 8 LICENSE="GPL2" |
pascal@15200 | 9 WEB_SITE="http://www.squirrelmail.org/" |
pascal@15200 | 10 |
pascal@1198 | 11 DEPENDS="squirrelmail" |
Hans-G?nter@21959 | 12 WANTED="squirrelmail-locales" |
Hans-G?nter@21959 | 13 |
Hans-G?nter@21959 | 14 HOST_ARCH="any" |
pascal@1198 | 15 |
pascal@1198 | 16 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1198 | 17 genpkg_rules() |
pascal@1198 | 18 { |
pascal@1198 | 19 mkdir -p $fs/usr/share/squirrelmail/locale |
pascal@1198 | 20 cp -a $src/locale/${PACKAGE#squirrelmail-} \ |
pascal@1198 | 21 $fs/usr/share/squirrelmail/locale |
pascal@1198 | 22 } |
pascal@1198 | 23 |
pascal@1198 | 24 # Pre and post install commands for Tazpkg. |
pascal@1198 | 25 post_install() |
pascal@1198 | 26 { |
pascal@18730 | 27 sed -i "s/^\$squirrelmail_default_language = .*/\$squirrelmail_default_language = '${PACKAGE#squirrelmail-}';/" "$1/etc/squirrelmail/config.php" |
pascal@1198 | 28 } |