wok view squirrelmail-bookmarks/receipt @ rev 6465
Up: python-mako to 0.3.4
author | Julien Rabier <taziden@slitaz.org> |
---|---|
date | Wed Sep 29 23:30:04 2010 +0000 (2010-09-29) |
parents | 427c4c30e1c4 |
children | f81e47267992 |
line source
1 # SliTaz package receipt.
3 PACKAGE="squirrelmail-bookmarks"
4 VERSION="2.0.3-1.4.1"
5 CATEGORY="network"
6 SHORT_DESC="Store and manage favorites lists within the Squirrelmail interface."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 SOURCE="bookmarks"
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/bookmarks_data.php"
15 # Rules to gen a SliTaz package suitable for Tazpkg.
16 genpkg_rules()
17 {
18 mkdir -p $fs/usr/share/squirrelmail/plugins $fs/etc/squirrelmail
19 cp -a $SOURCE $fs/usr/share/squirrelmail/plugins
20 rm -f $fs/usr/share/squirrelmail/plugins/$SOURCE/bookmarks_data.php
21 ln -s /usr/share/squirrelmail/plugins/$SOURCE/bookmarks_data_text.php \
22 $fs/etc/squirrelmail/bookmarks_data.php
23 ln -s /etc/squirrelmail/bookmarks_data.php \
24 $fs/usr/share/squirrelmail/plugins/$SOURCE/bookmarks_data.php
25 }
27 post_install()
28 {
29 echo "\$plugins[] = '$SOURCE';" >> $1/etc/squirrelmail/config_local.php
30 }
32 pre_remove()
33 {
34 sed -i "/\$plugins.. = '$SOURCE';/d" /etc/squirrelmail/config_local.php
35 }