wok view squirrelmail-notes/receipt @ rev 14904

kbd*: up 1.15.5; retawq and kbd: place .mo files to right place; locale-pl: try to fix; slitaz-i18n: no more pcmanfm, kbd really not a core package but contains translations for kbd-base.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Jul 31 20:21:51 2013 +0300 (2013-07-31)
parents f81e47267992
children b13ed9740841
line source
1 # SliTaz package receipt.
3 PACKAGE="squirrelmail-notes"
4 VERSION="1.2-1.4.0"
5 CATEGORY="network"
6 SHORT_DESC="Notes creation plugin for Web mail."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 SOURCE="notes"
9 TARBALL="$SOURCE.$VERSION.tar.gz"
10 WEB_SITE="http://www.squirrelmail.org/"
11 DEPENDS="squirrelmail"
12 WGET_URL="${WEB_SITE}plugins/$TARBALL"
13 CONFIG_FILES="/etc/squirrelmail/config-$SOURCE.php"
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 $fs/etc/squirrelmail
26 cp -a $_pkg/$SOURCE $fs/usr/share/squirrelmail/plugins
27 mv $fs/usr/share/squirrelmail/plugins/$SOURCE/config.php.sample \
28 $fs/etc/squirrelmail/config-$SOURCE.php
29 ln -s /etc/squirrelmail/config-$SOURCE.php \
30 $fs/usr/share/squirrelmail/plugins/$SOURCE/config.php
31 }
33 post_install()
34 {
35 echo "\$plugins[] = '$SOURCE';" >> $1/etc/squirrelmail/config_local.php
36 }
38 pre_remove()
39 {
40 sed -i "/\$plugins.. = '$SOURCE';/d" /etc/squirrelmail/config_local.php
41 }