wok-next view squirrelmail-shared_calendars/receipt @ rev 5195
slitaz-doc: fix version for 3.0
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun Mar 28 17:16:33 2010 +0200 (2010-03-28) |
parents | 3fa4891116b4 |
children | f81e47267992 |
line source
1 # SliTaz package receipt.
3 PACKAGE="squirrelmail-shared_calendars"
4 VERSION="2.0.1-1.4.0"
5 CATEGORY="network"
6 SHORT_DESC="Fully iCal-compliant calendaring functionality for Web mail."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 SOURCE="shared_calendars"
9 TARBALL="$SOURCE-$VERSION.tar.gz"
10 WEB_SITE="http://www.squirrelmail.org/"
11 DEPENDS="squirrelmail squirrelmail-compatibility-plugin squirrelmail-calendard-backend"
12 WGET_URL="${WEB_SITE}plugins/$TARBALL"
13 CONFIG_FILES="/etc/squirrelmail/config-$SOURCE.php"
15 # Rules to gen a SliTaz package suitable for Tazpkg.
16 genpkg_rules()
17 {
18 mkdir -p $fs/usr/share/squirrelmail/plugins $fs/etc/squirrelmail
19 cp -a calendar $fs/usr/share/squirrelmail/plugins
20 mv $fs/usr/share/squirrelmail/plugins/calendar/data/config.php.sample \
21 $fs/etc/squirrelmail/config-$SOURCE.php
22 ln -s /etc/squirrelmail/config-$SOURCE.php \
23 $fs/usr/share/squirrelmail/plugins/calendar/data/config.php
24 }
26 post_install()
27 {
28 echo "\$plugins[] = '$SOURCE';" >> $1/etc/squirrelmail/config_local.php
29 }
31 pre_remove()
32 {
33 sed -i "/\$plugins.. = '$SOURCE';/d" /etc/squirrelmail/config_local.php
34 }