wok-next view squirrelmail-sizes/receipt @ rev 15745
slitaz-configs: remove dep on boxes and clearlooks, this brings the GTK in justX since openbox depends on slitaz-configs
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu Jan 02 20:21:53 2014 +0100 (2014-01-02) |
parents | 91a615759636 |
children | d51b2411e55e |
line source
1 # SliTaz package receipt.
3 PACKAGE="squirrelmail-sizes"
4 VERSION="1.5-1.4.0"
5 CATEGORY="network"
6 SHORT_DESC="Folder sizes plugin for Web mail."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 SOURCE="folder_sizes"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="http://www.squirrelmail.org/"
12 WGET_URL="${WEB_SITE}plugins/$TARBALL"
14 DEPENDS="squirrelmail"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 mkdir -p $DESTDIR
20 cp -a $src $DESTDIR/$SOURCE
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr/share/squirrelmail/plugins
27 cp -a $install/$SOURCE $fs/usr/share/squirrelmail/plugins
28 }
30 post_install()
31 {
32 echo "\$plugins[] = '$SOURCE';" >> $1/etc/squirrelmail/config_local.php
33 }
35 pre_remove()
36 {
37 sed -i "/\$plugins.. = '$SOURCE';/d" /etc/squirrelmail/config_local.php
38 }