wok-current annotate squirrelmail-ar/receipt @ rev 23984
linld: fix bootiso/strhead
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Nov 25 20:41:41 2020 +0000 (2020-11-25) |
parents | 9e01bc6321ea |
children | cb67b4f8be05 |
rev | line source |
---|---|
pascal@1198 | 1 # SliTaz package receipt. |
pascal@1198 | 2 |
pascal@1198 | 3 PACKAGE="squirrelmail-ar" |
Hans-G?nter@21955 | 4 VERSION="1.4.18-20090526" |
pascal@1411 | 5 CATEGORY="network" |
Hans-G?nter@21955 | 6 SHORT_DESC="Locale ar for squirrelmail." |
pascal@1198 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15200 | 8 LICENSE="GPL2" |
Hans-G?nter@21955 | 9 |
pascal@15200 | 10 WEB_SITE="http://www.squirrelmail.org/" |
pascal@15200 | 11 |
pascal@1198 | 12 DEPENDS="squirrelmail" |
Hans-G?nter@21955 | 13 WANTED="squirrelmail-locales" |
Hans-G?nter@21955 | 14 |
Hans-G?nter@21955 | 15 HOST_ARCH="any" |
pascal@1198 | 16 |
pascal@1198 | 17 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1198 | 18 genpkg_rules() |
pascal@1198 | 19 { |
pascal@1198 | 20 mkdir -p $fs/usr/share/squirrelmail/locale |
pascal@1198 | 21 cp -a $src/locale/${PACKAGE#squirrelmail-} \ |
pascal@1198 | 22 $fs/usr/share/squirrelmail/locale |
pascal@1198 | 23 } |
pascal@1198 | 24 |
pascal@1198 | 25 # Pre and post install commands for Tazpkg. |
pascal@1198 | 26 post_install() |
pascal@1198 | 27 { |
pascal@18730 | 28 sed -i "s/^\$squirrelmail_default_language = .*/\$squirrelmail_default_language = '${PACKAGE#squirrelmail-}';/" "$1/etc/squirrelmail/config.php" |
pascal@1198 | 29 } |