wok annotate squirrelmail-ar/receipt @ rev 25037

Up glza (0.11.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 21 21:38:29 2022 +0000 (2022-05-21)
parents 616cb6ed00f8
children
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@24746 10 WEB_SITE="https://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 }