wok-next view squirrelmail-calendard-file-backend/receipt @ rev 19681

Up cookutils, cups, fontconfig, gtk+, ijs, paper-icon-theme, poppler, qpdf.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Apr 07 17:30:10 2017 +0300 (2017-04-07)
parents d51b2411e55e
children c4e53a39395a
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"
14 HOST_ARCH="any"
16 DEPENDS="squirrelmail"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 mkdir -p $DESTDIR
22 cp -a $src $DESTDIR/$SOURCE
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/share/squirrelmail/plugins
29 cp -a $install/$SOURCE $fs/usr/share/squirrelmail/plugins
30 }
32 post_install()
33 {
34 echo "\$plugins[] = '$SOURCE';" >> "$1/etc/squirrelmail/config_local.php"
35 }
37 pre_remove()
38 {
39 sed -i "/\$plugins.. = '$SOURCE';/d" /etc/squirrelmail/config_local.php
40 }