wok-6.x annotate squirrelmail-smallcal/receipt @ rev 1228

All squirrelmail-smallcal
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Aug 10 11:50:32 2008 +0000 (2008-08-10)
parents
children cb2efee225ba
rev   line source
pascal@1228 1 # SliTaz package receipt.
pascal@1228 2
pascal@1228 3 PACKAGE="squirrelmail-smallcal"
pascal@1228 4 VERSION="0.8-1.2.3"
pascal@1228 5 CATEGORY="network"
pascal@1228 6 SHORT_DESC="Left side calendar plugin for Web mail."
pascal@1228 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@1228 8 SOURCE="smallcal"
pascal@1228 9 TARBALL="$SOURCE-$VERSION.tar.gz"
pascal@1228 10 WEB_SITE="http://www.squirrelmail.org/"
pascal@1228 11 DEPENDS="squirrelmail squirrelmail-compatibility-plugin"
pascal@1228 12 WGET_URL="${WEB_SITE}plugins/$TARBALL"
pascal@1228 13
pascal@1228 14 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@1228 15 genpkg_rules()
pascal@1228 16 {
pascal@1228 17 mkdir -p $fs/usr/share/squirrelmail/plugins
pascal@1228 18 cp -a $SOURCE $fs/usr/share/squirrelmail/plugins
pascal@1228 19 }
pascal@1228 20
pascal@1228 21 post_install()
pascal@1228 22 {
pascal@1228 23 echo "\$plugins[] = '$SOURCE';" >> $1/etc/squirrelmail/config_local.php
pascal@1228 24 cat <<EOF
pascal@1228 25 You can enable calendar display in Option -> Display Preferences
pascal@1228 26 EOF
pascal@1228 27 }