wok view squirrelmail-legend/receipt @ rev 10272

WARNING: revert libcap update 2.21 dont build and it a bas package (STOP UPDATE just FIXES)
author Christophe Lincoln <pankso@slitaz.org>
date Sat May 21 18:13:30 2011 +0200 (2011-05-21)
parents f81e47267992
children b13ed9740841
line source
1 # SliTaz package receipt.
3 PACKAGE="squirrelmail-legend"
4 VERSION="1.2-1.2.8"
5 CATEGORY="network"
6 SHORT_DESC="Adds a legend below the folder list in Web mail."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 SOURCE="legend"
9 TARBALL="$SOURCE.$VERSION.tar.gz"
10 WEB_SITE="http://www.squirrelmail.org/"
11 DEPENDS="squirrelmail"
12 WGET_URL="${WEB_SITE}plugins/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 mkdir -p $DESTDIR
18 cp -a $src $DESTDIR/$SOURCE
19 }
21 # Rules to gen a SliTaz package suitable for Tazpkg.
22 genpkg_rules()
23 {
24 mkdir -p $fs/usr/share/squirrelmail/plugins
25 cp -a $_pkg/$SOURCE $fs/usr/share/squirrelmail/plugins
26 }
28 post_install()
29 {
30 echo "\$plugins[] = '$SOURCE';" >> $1/etc/squirrelmail/config_local.php
31 }
33 pre_remove()
34 {
35 sed -i "/\$plugins.. = '$SOURCE';/d" /etc/squirrelmail/config_local.php
36 }