wok-6.x annotate squirrelmail-archive/receipt @ rev 1222
squirrelmail-multilogin, squirrelmail-vkeyboard, squirrelmail-archive: fix post_install
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Aug 10 08:15:15 2008 +0000 (2008-08-10) |
parents | e096df3fcdc7 |
children | cb2efee225ba |
rev | line source |
---|---|
pascal@1221 | 1 # SliTaz package receipt. |
pascal@1221 | 2 |
pascal@1221 | 3 PACKAGE="squirrelmail-archive" |
pascal@1221 | 4 VERSION="1.2-1.4.2" |
pascal@1221 | 5 CATEGORY="network" |
pascal@1221 | 6 SHORT_DESC="Mail archiver plugin for Web mail." |
pascal@1221 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@1221 | 8 SOURCE="archive_mail" |
pascal@1221 | 9 TARBALL="$SOURCE.$VERSION.tar.gz" |
pascal@1221 | 10 WEB_SITE="http://www.squirrelmail.org/" |
pascal@1221 | 11 DEPENDS="squirrelmail" |
pascal@1221 | 12 WGET_URL="${WEB_SITE}plugins/$TARBALL" |
pascal@1221 | 13 |
pascal@1221 | 14 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1221 | 15 genpkg_rules() |
pascal@1221 | 16 { |
pascal@1221 | 17 mkdir -p $fs/usr/share/squirrelmail/plugins |
pascal@1221 | 18 cp -a $SOURCE $fs/usr/share/squirrelmail/plugins |
pascal@1221 | 19 } |
pascal@1221 | 20 |
pascal@1221 | 21 post_install() |
pascal@1221 | 22 { |
pascal@1222 | 23 echo "\$plugins[] = '$SOURCE';" >> $1/etc/squirrelmail/config_local.php |
pascal@1221 | 24 } |