wok-6.x annotate squirrelmail-html/receipt @ rev 9434
netsurf: better home page (now netsurf better support CSS) with latest slitaz colors
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu Mar 31 18:18:10 2011 +0200 (2011-03-31) |
parents | f81e47267992 |
children | b13ed9740841 |
rev | line source |
---|---|
pascal@1225 | 1 # SliTaz package receipt. |
pascal@1225 | 2 |
pascal@1225 | 3 PACKAGE="squirrelmail-html" |
pascal@1225 | 4 VERSION="3.7a-1.4.x" |
pascal@1225 | 5 CATEGORY="network" |
pascal@1225 | 6 SHORT_DESC="HTML viewer plugin for Web mail." |
pascal@1225 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@1225 | 8 SOURCE="view_as_html" |
pascal@1225 | 9 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@1225 | 10 WEB_SITE="http://www.squirrelmail.org/" |
pascal@1225 | 11 DEPENDS="squirrelmail" |
pascal@1225 | 12 WGET_URL="${WEB_SITE}plugins/$TARBALL" |
pascal@1225 | 13 |
pascal@9036 | 14 # Rules to configure and make the package. |
pascal@9036 | 15 compile_rules() |
pascal@9036 | 16 { |
pascal@9037 | 17 mkdir -p $DESTDIR |
pascal@9036 | 18 cp -a $src $DESTDIR/$SOURCE |
pascal@9036 | 19 } |
pascal@9036 | 20 |
pascal@1225 | 21 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1225 | 22 genpkg_rules() |
pascal@1225 | 23 { |
pascal@1225 | 24 mkdir -p $fs/usr/share/squirrelmail/plugins |
pascal@9036 | 25 cp -a $_pkg/$SOURCE $fs/usr/share/squirrelmail/plugins |
pascal@3259 | 26 chown -R 80 $fs/usr/share/squirrelmail |
pascal@1225 | 27 } |
pascal@1225 | 28 |
pascal@1225 | 29 post_install() |
pascal@1225 | 30 { |
pascal@1225 | 31 echo "\$plugins[] = '$SOURCE';" >> $1/etc/squirrelmail/config_local.php |
pascal@1225 | 32 } |
pascal@2245 | 33 |
pascal@2260 | 34 pre_remove() |
pascal@2245 | 35 { |
pascal@2245 | 36 sed -i "/\$plugins.. = '$SOURCE';/d" /etc/squirrelmail/config_local.php |
pascal@2245 | 37 } |