wok-6.x diff 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
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/squirrelmail-smallcal/receipt	Sun Aug 10 11:50:32 2008 +0000
     1.3 @@ -0,0 +1,27 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="squirrelmail-smallcal"
     1.7 +VERSION="0.8-1.2.3"
     1.8 +CATEGORY="network"
     1.9 +SHORT_DESC="Left side calendar plugin for Web mail."
    1.10 +MAINTAINER="pascal.bellard@slitaz.org"
    1.11 +SOURCE="smallcal"
    1.12 +TARBALL="$SOURCE-$VERSION.tar.gz"
    1.13 +WEB_SITE="http://www.squirrelmail.org/"
    1.14 +DEPENDS="squirrelmail squirrelmail-compatibility-plugin"
    1.15 +WGET_URL="${WEB_SITE}plugins/$TARBALL"
    1.16 +
    1.17 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.18 +genpkg_rules()
    1.19 +{
    1.20 +	mkdir -p $fs/usr/share/squirrelmail/plugins
    1.21 +	cp -a $SOURCE $fs/usr/share/squirrelmail/plugins
    1.22 +}
    1.23 +
    1.24 +post_install()
    1.25 +{
    1.26 +	echo "\$plugins[] = '$SOURCE';" >> $1/etc/squirrelmail/config_local.php
    1.27 +	cat <<EOF
    1.28 +You can enable calendar display in Option -> Display Preferences
    1.29 +EOF
    1.30 +}