wok-stable annotate squirrelmail-smallcal/receipt @ rev 4358

Add: libtasn1 (ASN.1 library)
author Christophe Lincoln <pankso@slitaz.org>
date Mon Oct 05 00:52:38 2009 +0200 (2009-10-05)
parents cb2efee225ba
children b936343846df
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 }
pascal@2245 28
pascal@2260 29 pre_remove()
pascal@2245 30 {
pascal@2245 31 sed -i "/\$plugins.. = '$SOURCE';/d" /etc/squirrelmail/config_local.php
pascal@2245 32 }