wok-current view squirrelmail-fa_IR/receipt @ rev 16182
Add gweled
| author | Pascal Bellard <pascal.bellard@slitaz.org> | 
|---|---|
| date | Sun Mar 30 16:56:33 2014 +0000 (2014-03-30) | 
| parents | 033eccccd487 | 
| children | d51b2411e55e | 
 line source
     1 # SliTaz package receipt.
     3 PACKAGE="squirrelmail-fa_IR"
     4 VERSION="1.4.13-20071220"
     5 CATEGORY="network"
     6 SHORT_DESC="Locale fa_IR for Web mail."
     7 MAINTAINER="pascal.bellard@slitaz.org"
     8 LICENSE="GPL2"
     9 WANTED="squirrelmail-locales"
    10 WEB_SITE="http://www.squirrelmail.org/"
    12 DEPENDS="squirrelmail"
    14 # Rules to gen a SliTaz package suitable for Tazpkg.
    15 genpkg_rules()
    16 {
    17 	mkdir -p $fs/usr/share/squirrelmail/locale
    18 	cp -a $src/locale/${PACKAGE#squirrelmail-} \
    19 		$fs/usr/share/squirrelmail/locale
    20 }
    22 # Pre and post install commands for Tazpkg.
    23 post_install()
    24 {
    25 	sed -i "s/^\$squirrelmail_default_language = .*/\$squirrelmail_default_language = '${PACKAGE#squirrelmail-}';/" /etc/squirrelmail/config.php
    26 }