wok-6.x view squirrelmail-et_EE/receipt @ rev 24746
ncursesw-dev: add pkg config files (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Mar 16 11:02:39 2022 +0000 (2022-03-16) |
parents | 4993549452a2 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="squirrelmail-et_EE"
4 VERSION="1.4.18-20090526"
5 CATEGORY="network"
6 SHORT_DESC="Locale et_EE for squirrelmail."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://www.squirrelmail.org/"
11 DEPENDS="squirrelmail"
12 WANTED="squirrelmail-locales"
14 HOST_ARCH="any"
16 # Rules to gen a SliTaz package suitable for Tazpkg.
17 genpkg_rules()
18 {
19 mkdir -p $fs/usr/share/squirrelmail/locale
20 cp -a $src/locale/${PACKAGE#squirrelmail-} \
21 $fs/usr/share/squirrelmail/locale
22 }
24 # Pre and post install commands for Tazpkg.
25 post_install()
26 {
27 sed -i "s/^\$squirrelmail_default_language = .*/\$squirrelmail_default_language = '${PACKAGE#squirrelmail-}';/" "$1/etc/squirrelmail/config.php"
28 }