wok view squirrelmail-calendard-file-backend/receipt @ rev 15492
Up: firefox-langpack-es_ES (17.0.10esr)
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Sun Nov 17 16:29:54 2013 +0100 (2013-11-17) |
parents | 91a615759636 |
children | d51b2411e55e |
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 LICENSE="GPL2"
9 SOURCE="calendar_file_backend"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="http://www.squirrelmail.org/"
12 WGET_URL="${WEB_SITE}plugins/$TARBALL"
13 PROVIDE="squirrelmail-calendard-backend"
15 DEPENDS="squirrelmail"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 mkdir -p $DESTDIR
21 cp -a $src $DESTDIR/$SOURCE
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/share/squirrelmail/plugins
28 cp -a $install/$SOURCE $fs/usr/share/squirrelmail/plugins
29 }
31 post_install()
32 {
33 echo "\$plugins[] = '$SOURCE';" >> $1/etc/squirrelmail/config_local.php
34 }
36 pre_remove()
37 {
38 sed -i "/\$plugins.. = '$SOURCE';/d" /etc/squirrelmail/config_local.php
39 }