wok view squirrelmail-calendard-file-backend/receipt @ rev 9503

lxpanel: move slitaz config to slitaz-configs repo (we use --profile at startup to use our settings)
author Christophe Lincoln <pankso@slitaz.org>
date Wed Apr 06 04:03:17 2011 +0200 (2011-04-06)
parents f81e47267992
children b13ed9740841
line source
1 # SliTaz package receipt.
3 PACKAGE="squirrelmail-calendard-file-backend"
4 VERSION="1.0-2.0"
5 CATEGORY="network"
6 SHORT_DESC="File-based backend for calendar data for Web mail."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 SOURCE="calendar_file_backend"
9 TARBALL="$SOURCE-$VERSION.tar.gz"
10 WEB_SITE="http://www.squirrelmail.org/"
11 DEPENDS="squirrelmail"
12 WGET_URL="${WEB_SITE}plugins/$TARBALL"
13 PROVIDE="squirrelmail-calendard-backend"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 mkdir -p $DESTDIR
19 cp -a $src $DESTDIR/$SOURCE
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 mkdir -p $fs/usr/share/squirrelmail/plugins
26 cp -a $_pkg/$SOURCE $fs/usr/share/squirrelmail/plugins
27 }
29 post_install()
30 {
31 echo "\$plugins[] = '$SOURCE';" >> $1/etc/squirrelmail/config_local.php
32 }
34 pre_remove()
35 {
36 sed -i "/\$plugins.. = '$SOURCE';/d" /etc/squirrelmail/config_local.php
37 }